]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: STi: Fix bindings notation
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 8 Jan 2018 10:20:42 +0000 (11:20 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Mon, 12 Feb 2018 14:24:26 +0000 (15:24 +0100)
Remove leading 0x and 0s from bindings notation
Add missing unit-address and remove some which are useless.

This allows to fix several warnings like :

Warning (unit_address_vs_reg): Node XXXX has a reg or ranges property, but no unit name
Warning (simple_bus_reg): Node XXXX simple-bus unit address format error, expected "123456"
Warning (unit_address_vs_reg): Node XXXX has a unit name, but no reg property

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
12 files changed:
arch/arm/boot/dts/stih407-b2120.dts
arch/arm/boot/dts/stih407-clock.dtsi
arch/arm/boot/dts/stih407-family.dtsi
arch/arm/boot/dts/stih407-pinctrl.dtsi
arch/arm/boot/dts/stih410-b2120.dts
arch/arm/boot/dts/stih410-b2260.dts
arch/arm/boot/dts/stih410-clock.dtsi
arch/arm/boot/dts/stih410-pinctrl.dtsi
arch/arm/boot/dts/stih410.dtsi
arch/arm/boot/dts/stih418-b2199.dts
arch/arm/boot/dts/stih418-clock.dtsi
arch/arm/boot/dts/stihxxx-b2120.dtsi

index c8ad905d03094008501e3bc42ade018e61eb0264..cf8bc8a8b947d261c174898274e6af3862d0f999 100644 (file)
@@ -18,7 +18,7 @@ chosen {
                linux,stdout-path = &sbc_serial0;
        };
 
-       memory {
+       memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0x80000000>;
        };
index d0a24d9e517a5e8ba5403b1fd2fbd39bff622813..b882dcf3a649c3ae6e82bf7dc24993056d0945df 100644 (file)
@@ -83,7 +83,7 @@ clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
                 * Bootloader initialized system infrastructure clock for
                 * serial devices.
                 */
-               clk_ext2f_a9: clockgen-c0@13 {
+               clk_ext2f_a9: clockgen-c0 {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <200000000>;
@@ -260,7 +260,7 @@ clk_tmdsout_hdmi: clk-tmdsout-hdmi {
                        clock-frequency = <0>;
                };
 
-               clockgen-d2@x9106000 {
+               clockgen-d2@9106000 {
                        compatible = "st,clkgen-c32";
                        reg = <0x9106000 0x1000>;
 
index cf3756976c396b74079ebcb2c3fdda8769793cdf..1608c70f05a987dde12c5ec195dd2d3f1e40234e 100644 (file)
@@ -92,7 +92,7 @@ timer@8760200 {
                clocks = <&arm_periph_clk>;
        };
 
-       l2: cache-controller {
+       l2: cache-controller@8762000 {
                compatible = "arm,pl310-cache";
                reg = <0x08762000 0x1000>;
                arm,data-latency = <3 3 3>;
@@ -389,7 +389,7 @@ usb2_picophy0: phy1 {
                        reset-names = "global", "port";
                };
 
-               miphy28lp_phy: miphy28lp@9b22000 {
+               miphy28lp_phy: miphy28lp {
                        compatible = "st,miphy28lp-phy";
                        st,syscfg = <&syscfg_core>;
                        #address-cells  = <1>;
@@ -803,7 +803,7 @@ mailbox3: mailbox@8f03000 {
                        status          = "okay";
                };
 
-               st231_gp0: st231-gp0@0 {
+               st231_gp0: st231-gp0 {
                        compatible      = "st,st231-rproc";
                        memory-region   = <&gp0_reserved>;
                        resets          = <&softreset STIH407_ST231_GP0_SOFTRESET>;
@@ -816,7 +816,7 @@ st231_gp0: st231-gp0@0 {
                        mboxes = <&mailbox0 0 2>, <&mailbox2 0 1>, <&mailbox0 0 3>, <&mailbox2 0 0>;
                };
 
-               st231_delta: st231-delta@0 {
+               st231_delta: st231-delta {
                        compatible      = "st,st231-rproc";
                        memory-region   = <&delta_reserved>;
                        resets          = <&softreset STIH407_ST231_DMU_SOFTRESET>;
index a29090077fdf5637e7a173c70288e6fbbfc02228..53c6888d1fc0ece2a063f270c097eadb9a0998af 100644 (file)
@@ -45,7 +45,7 @@ aliases {
        };
 
        soc {
-               pin-controller-sbc {
+               pin-controller-sbc@961f080 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "st,stih407-sbc-pinctrl";
@@ -369,7 +369,7 @@ st,pins {
                        };
                };
 
-               pin-controller-front0 {
+               pin-controller-front0@920f080 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "st,stih407-front-pinctrl";
@@ -929,7 +929,7 @@ st,pins {
                        };
                };
 
-               pin-controller-front1 {
+               pin-controller-front1@921f080 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "st,stih407-front-pinctrl";
@@ -962,7 +962,7 @@ st,pins {
                        };
                };
 
-               pin-controller-rear {
+               pin-controller-rear@922f080 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "st,stih407-rear-pinctrl";
@@ -1157,7 +1157,7 @@ st,pins {
                        };
                };
 
-               pin-controller-flash {
+               pin-controller-flash@923f080 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "st,stih407-flash-pinctrl";
index 9830be57743368b651a5b1d18f8c66dbfe6dcce1..37a42afa0dd1b6a031d406ebf272c268359d9c76 100644 (file)
@@ -18,7 +18,7 @@ chosen {
                linux,stdout-path = &sbc_serial0;
        };
 
-       memory {
+       memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0x80000000>;
        };
index c663b70c43a7426ffa09667c4fbb30e657ca5a13..faafc7b12951a4d4db5745d055ba5849df9e1561 100644 (file)
@@ -19,7 +19,7 @@ chosen {
                linux,stdout-path = &uart1;
        };
 
-       memory {
+       memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0x40000000>;
        };
@@ -201,7 +201,7 @@ codec {
                        };
                };
 
-               miphy28lp_phy: miphy28lp@9b22000 {
+               miphy28lp_phy: miphy28lp {
 
                        phy_port1: port@9b2a000 {
                                st,osc-force-ext;
index fde5df17f57590e1a9c6f8dc4a8ab200ea7cba91..4df1b2187aa236eceb2d699a885108447c8eb4ca 100644 (file)
@@ -85,7 +85,7 @@ clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
                 * Bootloader initialized system infrastructure clock for
                 * serial devices.
                 */
-               clk_ext2f_a9: clockgen-c0@13 {
+               clk_ext2f_a9: clockgen-c0 {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <200000000>;
@@ -272,7 +272,7 @@ clk_tmdsout_hdmi: clk-tmdsout-hdmi {
                        clock-frequency = <0>;
                };
 
-               clockgen-d2@x9106000 {
+               clockgen-d2@9106000 {
                        compatible = "st,clkgen-c32";
                        reg = <0x9106000 0x1000>;
 
index b3e9dfc81c07b365d0cb5640fa8761c56e40a172..5ae1fd66c0b8361ccd275f577fc224ca8dafea63 100644 (file)
@@ -10,7 +10,7 @@
 / {
 
        soc {
-               pin-controller-rear {
+               pin-controller-rear@922f080 {
 
                        usb0 {
                                pinctrl_usb0: usb2-0 {
index 68b5ff91d6a756cc87d5094695d351c65afa4c76..e4b7e3ddc9ee9cc628a17c89b1e97558cbbfcbf8 100644 (file)
@@ -235,7 +235,7 @@ sti-hda@8d02000 {
                                         <&clk_s_d2_quadfs 1>;
                        };
 
-                       sti-hqvdp@9c000000 {
+                       sti-hqvdp@9c00000 {
                                compatible = "st,stih407-hqvdp";
                                reg = <0x9C00000 0x100000>;
                                clock-names = "hqvdp", "pix_main";
index 4e6d915c85ff0aef06739e910f0fa9d0ba040497..5418a0ece6599e545cbbdd88a8e8b545edbb3c73 100644 (file)
@@ -18,7 +18,7 @@ chosen {
                linux,stdout-path = &sbc_serial0;
        };
 
-       memory {
+       memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0xc0000000>;
        };
@@ -88,7 +88,7 @@ mmc0: sdhci@9060000 {
                        non-removable;
                };
 
-               miphy28lp_phy: miphy28lp@9b22000 {
+               miphy28lp_phy: miphy28lp {
 
                        phy_port0: port@9b22000 {
                                st,osc-rdy;
index 9a157c1a99b1d12ad2e326a2cac01566cd124940..e68bf28bd038a43ccd37e9fc27fb5de52e0faf51 100644 (file)
@@ -85,7 +85,7 @@ clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
                 * Bootloader initialized system infrastructure clock for
                 * serial devices.
                 */
-               clk_ext2f_a9: clockgen-c0@13 {
+               clk_ext2f_a9: clockgen-c0 {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                        clock-frequency = <200000000>;
@@ -265,7 +265,7 @@ clk_tmdsout_hdmi: clk-tmdsout-hdmi {
                        clock-frequency = <0>;
                };
 
-               clockgen-d2@x9106000 {
+               clockgen-d2@9106000 {
                        compatible = "st,clkgen-c32";
                        reg = <0x9106000 0x1000>;
 
index 7f80c2c414c89da5f9f16fb5c6b0b0a0f8c0280d..68783e8223b899ad53e50684feb1846e2e8602d6 100644 (file)
@@ -80,7 +80,7 @@ hdmiddc: i2c@9541000 {
                        st,i2c-min-sda-pulse-width-us = <5>;
                };
 
-               miphy28lp_phy: miphy28lp@9b22000 {
+               miphy28lp_phy: miphy28lp {
 
                        phy_port0: port@9b22000 {
                                st,osc-rdy;
@@ -126,7 +126,7 @@ demux@8a20000 {
                        clock-names     = "c8sectpfe";
 
                        /* tsin0 is TSA on NIMA */
-                       tsin0: port@0 {
+                       tsin0: port {
                                tsin-num        = <0>;
                                serial-not-parallel;
                                i2c-bus         = <&ssc2>;