ARM64: dts: meson-axg: clean-up i2c nodes
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 17 May 2018 09:30:57 +0000 (11:30 +0200)
committerKevin Hilman <khilman@baylibre.com>
Wed, 23 May 2018 17:05:41 +0000 (10:05 -0700)
Remove undocumented and unused "clk_i2c" clock name and the second
interrupt from i2c nodes of meson-axg platform. Those seems to have
been copy/pasted from the vendor kernel

Fixes: dc6f858e2690 ("ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg.dtsi

index 381bd2c..b59f341 100644 (file)
 
                        i2c0: i2c@1f000 {
                                compatible = "amlogic,meson-axg-i2c";
-                               status = "disabled";
                                reg = <0x0 0x1f000 0x0 0x20>;
-                               interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
-                                       <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
+                               interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&clkc CLKID_I2C>;
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               clocks = <&clkc CLKID_I2C>;
-                               clock-names = "clk_i2c";
+                               status = "disabled";
                        };
 
                        i2c1: i2c@1e000 {
                                compatible = "amlogic,meson-axg-i2c";
+                               reg = <0x0 0x1e000 0x0 0x20>;
+                               interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&clkc CLKID_I2C>;
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               reg = <0x0 0x1e000 0x0 0x20>;
                                status = "disabled";
-                               interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>,
-                                       <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
-                               clocks = <&clkc CLKID_I2C>;
-                               clock-names = "clk_i2c";
                        };
 
                        i2c2: i2c@1d000 {
                                compatible = "amlogic,meson-axg-i2c";
-                               status = "disabled";
                                reg = <0x0 0x1d000 0x0 0x20>;
-                               interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>,
-                                       <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>;
+                               interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&clkc CLKID_I2C>;
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               clocks = <&clkc CLKID_I2C>;
-                               clock-names = "clk_i2c";
+                               status = "disabled";
                        };
 
                        i2c3: i2c@1c000 {
                                compatible = "amlogic,meson-axg-i2c";
-                               status = "disabled";
                                reg = <0x0 0x1c000 0x0 0x20>;
-                               interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
-                                       <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
+                               interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&clkc CLKID_I2C>;
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               clocks = <&clkc CLKID_I2C>;
-                               clock-names = "clk_i2c";
+                               status = "disabled";
                        };
 
                        uart_A: serial@24000 {
 
                        i2c_AO: i2c@5000 {
                                compatible = "amlogic,meson-axg-i2c";
-                               status = "disabled";
                                reg = <0x0 0x05000 0x0 0x20>;
                                interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
+                               clocks = <&clkc CLKID_I2C>;
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               clocks = <&clkc CLKID_I2C>;
-                               clock-names = "clk_i2c";
+                               status = "disabled";
                        };
 
                        uart_AO: serial@3000 {