mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 20:13:39 +00:00
1088fcb96f
add support for i2c eeprom on address 0x51. Signed-off-by: Heiko Schocher <hs@denx.de>
41 lines
662 B
Text
41 lines
662 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2019
|
|
* Heiko Schocher, DENX Software Engineering, hs@denx.de
|
|
*/
|
|
#include <config.h>
|
|
|
|
/ {
|
|
aliases {
|
|
eeprom0 = &i2c_eeprom0;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = &serial0;
|
|
};
|
|
|
|
soc8544@e0000000 {
|
|
i2c@3000 {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
i2c_eeprom0: eeprom@51{
|
|
compatible = "atmel,24c64";
|
|
reg = <0x51>;
|
|
pagesize = <32>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&pci0 {
|
|
clock-frequency = <33000000>;
|
|
ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
|
|
0x01000000 0x0 0xe2000000 0xe2000000 0x0 0x01000000>;
|
|
};
|
|
|
|
&serial0 {
|
|
u-boot,dm-pre-reloc;
|
|
clock-frequency = <333333330>;
|
|
};
|
|
|
|
#include "u-boot.dtsi"
|