Message ID | 20250102194530.418127-5-e@freeshell.de (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | riscv: dts: starfive: jh7110-common: Sync downstream U-Boot changes | expand |
On 1/3/2025 3:45 AM, E Shattow wrote: > StarFive VisionFive2 and similar JH7110 boards have an eeprom compatible > with Atmel 24c04. Add the node so this may be used with the at24 driver. > > Signed-off-by: E Shattow <e@freeshell.de> > --- > arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > index bf2f0c34ad4e..ad5cb85ebc59 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > @@ -245,6 +245,12 @@ emmc_vdd: aldo4 { > }; > }; > }; > + > + eeprom: eeprom@50 { The label "eeprom:" can be dropped if no one use it. > + compatible = "atmel,24c04"; > + reg = <0x50>; > + pagesize = <16>; > + }; > }; > > &i2c6 { Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi index bf2f0c34ad4e..ad5cb85ebc59 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -245,6 +245,12 @@ emmc_vdd: aldo4 { }; }; }; + + eeprom: eeprom@50 { + compatible = "atmel,24c04"; + reg = <0x50>; + pagesize = <16>; + }; }; &i2c6 {
StarFive VisionFive2 and similar JH7110 boards have an eeprom compatible with Atmel 24c04. Add the node so this may be used with the at24 driver. Signed-off-by: E Shattow <e@freeshell.de> --- arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)