]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: dts: tinker: move i2c node to shared device tree
authorStefan Agner <stefan@agner.ch>
Fri, 4 Sep 2020 14:11:08 +0000 (16:11 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 30 Oct 2020 10:06:13 +0000 (18:06 +0800)
The I2C EEPROM is present on Tinker Board S as well. Move the i2c node
to the shared, U-Boot specific rk3288-tinker-u-boot.dtsi device tree.

Cc: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3288-tinker-u-boot.dtsi
arch/arm/dts/rk3288-tinker.dts

index 732aa4f91fc7aab52613b0af3e2e79bce7579967..56d10c82ecda51e191c011b32513050093447264 100644 (file)
        rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
 };
 
+&i2c2 {
+       m24c08@50 {
+               compatible = "at,24c08", "i2c-eeprom";
+               reg = <0x50>;
+       };
+};
+
 &pinctrl {
        u-boot,dm-pre-reloc;
 };
index 4b8405fd82445ffc22d7af4abe1be711d15f14b2..338670123b6ae98127837f3771093744b8ae91dc 100644 (file)
        vbus-supply = <&vcc5v0_host>;
        status = "okay";
 };
-
-&i2c2 {
-    m24c08@50 {
-        compatible = "at,24c08", "i2c-eeprom";
-        reg = <0x50>;
-    };
-};