]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: Fix to use standard DT node names for X-Gene 1 and X-Gene 2 platforms
authorDuc Dang <dhdang@apm.com>
Tue, 29 Dec 2015 23:20:10 +0000 (15:20 -0800)
committerDuc Dang <dhdang@apm.com>
Tue, 29 Dec 2015 23:20:10 +0000 (15:20 -0800)
Use devicetree standard node name for I2C (i2c@...),
GFC GPIO (gpio@...), DW GPIO (gpio@...), Standby GPIO (gpio@...).

The DT node name of USB (dwusb@...) still needs to be kept to
maintain backward compatibility with old firmware.

Signed-off-by: Duc Dang <dhdang@apm.com>
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
arch/arm64/boot/dts/apm/apm-storm.dtsi

index c617aa4972ab60ee8ff5d39b7c3a0fbbc6ff2092..4b3837bda5a6ec7684a258f3485deba558a27e67 100644 (file)
                        interrupts = <0x0 0x4c 0x4>;
                };
 
+               /* Do not change dwusb name, coded for backward compatibility */
                usb0: dwusb@19000000 {
                        status = "disabled";
                        compatible = "snps,dwc3";
                        clocks = <&sdioclk 0>, <&ahbclk 0>;
                };
 
-               gfcgpio: gfcgpio@1f63c000 {
+               gfcgpio: gpio@1f63c000 {
                        compatible = "apm,xgene-gpio";
                        reg = <0x0 0x1f63c000 0x0 0x40>;
                        gpio-controller;
                        #gpio-cells = <2>;
                };
 
-               dwgpio: dwgpio@1c024000 {
+               dwgpio: gpio@1c024000 {
                        compatible = "snps,dw-apb-gpio";
                        reg = <0x0 0x1c024000 0x0 0x1000>;
                        reg-io-width = <4>;
                        };
                };
 
-               sbgpio: sbgpio@17001000{
+               sbgpio: gpio@17001000{
                        compatible = "apm,xgene-gpio-sb";
                        reg = <0x0 0x17001000 0x0 0x400>;
                        #gpio-cells = <2>;
                        clocks = <&rngpkaclk 0>;
                };
 
-               i2c1: i2c1@10511000 {
+               i2c1: i2c@10511000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "snps,designware-i2c";
                        bus_num = <1>;
                };
 
-               i2c4: i2c4@10640000 {
+               i2c4: i2c@10640000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "snps,designware-i2c";
index a21e08a889912cfa37ab3a4435c2cbd1cd149f9c..17f5dc26597527bdf641ad30b6813a586b0bf898 100644 (file)
                        clocks = <&sdioclk 0>, <&ahbclk 0>;
                };
 
-               gfcgpio: gfcgpio0@1701c000 {
+               gfcgpio: gpio0@1701c000 {
                        compatible = "apm,xgene-gpio";
                        reg = <0x0 0x1701c000 0x0 0x40>;
                        gpio-controller;
                        #gpio-cells = <2>;
                };
 
-               dwgpio: dwgpio@1c024000 {
+               dwgpio: gpio@1c024000 {
                        compatible = "snps,dw-apb-gpio";
                        reg = <0x0 0x1c024000 0x0 0x1000>;
                        reg-io-width = <4>;
                        };
                };
 
-               i2c0: i2c0@10512000 {
+               i2c0: i2c@10512000 {
                        status = "disabled";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        dr_mode = "host";
                };
 
-               sbgpio: sbgpio@17001000{
+               sbgpio: gpio@17001000{
                        compatible = "apm,xgene-gpio-sb";
                        reg = <0x0 0x17001000 0x0 0x400>;
                        #gpio-cells = <2>;