dtb: amd: Misc changes for I2C device nodes
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Mon, 8 Feb 2016 17:59:10 +0000 (11:59 -0600)
committerOlof Johansson <olof@lixom.net>
Mon, 8 Feb 2016 21:38:11 +0000 (13:38 -0800)
Add new i2c1 device node, and fix the incorrect clock frequency.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi

index c7c759a..4be36fd 100644 (file)
                        compatible = "snps,designware-i2c";
                        reg = <0 0xe1000000 0 0x1000>;
                        interrupts = <0 357 4>;
-                       clocks = <&uartspiclk_100mhz>;
+                       clocks = <&miscclk_250mhz>;
+               };
+
+               i2c1: i2c@e0050000 {
+                       status = "disabled";
+                       compatible = "snps,designware-i2c";
+                       reg = <0 0xe0050000 0 0x1000>;
+                       interrupts = <0 340 4>;
+                       clocks = <&miscclk_250mhz>;
                };
 
                serial0: serial@e1010000 {