ARM: dts: am33xx: fix clock node definitions to avoid build warnings
authorTero Kristo <t-kristo@ti.com>
Mon, 4 Apr 2016 15:16:09 +0000 (18:16 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Apr 2016 18:57:36 +0000 (11:57 -0700)
Upcoming change to DT compiler is going to complain about nodes
which have a reg property, but have not defined the address in their
name. This patch fixes following type of warnings for AM33xx clock nodes:

Warning (unit_address_vs_reg): Node /ocp/cm@48004000/clocks/dpll3_m2_ck
has a reg or ranges property, but no unit name

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx-clocks.dtsi

index afb4b3a7bab47b5e426e4e9a25f1a6dd4ec4f360..8d8319590cde7353ce46a4bd9e21f580d5d7ae9b 100644 (file)
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 &scm_clocks {
-       sys_clkin_ck: sys_clkin_ck {
+       sys_clkin_ck: sys_clkin_ck@40 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&virt_19200000_ck>, <&virt_24000000_ck>, <&virt_25000000_ck>, <&virt_26000000_ck>;
                clock-frequency = <12000000>;
        };
 
-       dpll_core_ck: dpll_core_ck {
+       dpll_core_ck: dpll_core_ck@490 {
                #clock-cells = <0>;
                compatible = "ti,am3-dpll-core-clock";
                clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
                clocks = <&dpll_core_ck>;
        };
 
-       dpll_core_m4_ck: dpll_core_m4_ck {
+       dpll_core_m4_ck: dpll_core_m4_ck@480 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_core_x2_ck>;
                ti,index-starts-at-one;
        };
 
-       dpll_core_m5_ck: dpll_core_m5_ck {
+       dpll_core_m5_ck: dpll_core_m5_ck@484 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_core_x2_ck>;
                ti,index-starts-at-one;
        };
 
-       dpll_core_m6_ck: dpll_core_m6_ck {
+       dpll_core_m6_ck: dpll_core_m6_ck@4d8 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_core_x2_ck>;
                ti,index-starts-at-one;
        };
 
-       dpll_mpu_ck: dpll_mpu_ck {
+       dpll_mpu_ck: dpll_mpu_ck@488 {
                #clock-cells = <0>;
                compatible = "ti,am3-dpll-clock";
                clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
                reg = <0x0488>, <0x0420>, <0x042c>;
        };
 
-       dpll_mpu_m2_ck: dpll_mpu_m2_ck {
+       dpll_mpu_m2_ck: dpll_mpu_m2_ck@4a8 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_mpu_ck>;
                ti,index-starts-at-one;
        };
 
-       dpll_ddr_ck: dpll_ddr_ck {
+       dpll_ddr_ck: dpll_ddr_ck@494 {
                #clock-cells = <0>;
                compatible = "ti,am3-dpll-no-gate-clock";
                clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
                reg = <0x0494>, <0x0434>, <0x0440>;
        };
 
-       dpll_ddr_m2_ck: dpll_ddr_m2_ck {
+       dpll_ddr_m2_ck: dpll_ddr_m2_ck@4a0 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_ddr_ck>;
                clock-div = <2>;
        };
 
-       dpll_disp_ck: dpll_disp_ck {
+       dpll_disp_ck: dpll_disp_ck@498 {
                #clock-cells = <0>;
                compatible = "ti,am3-dpll-no-gate-clock";
                clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
                reg = <0x0498>, <0x0448>, <0x0454>;
        };
 
-       dpll_disp_m2_ck: dpll_disp_m2_ck {
+       dpll_disp_m2_ck: dpll_disp_m2_ck@4a4 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_disp_ck>;
                ti,set-rate-parent;
        };
 
-       dpll_per_ck: dpll_per_ck {
+       dpll_per_ck: dpll_per_ck@48c {
                #clock-cells = <0>;
                compatible = "ti,am3-dpll-no-gate-j-type-clock";
                clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
                reg = <0x048c>, <0x0470>, <0x049c>;
        };
 
-       dpll_per_m2_ck: dpll_per_m2_ck {
+       dpll_per_m2_ck: dpll_per_m2_ck@4ac {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&dpll_per_ck>;
                clock-div = <4>;
        };
 
-       cefuse_fck: cefuse_fck {
+       cefuse_fck: cefuse_fck@a20 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&sys_clkin_ck>;
                clock-div = <732>;
        };
 
-       clkdiv32k_ick: clkdiv32k_ick {
+       clkdiv32k_ick: clkdiv32k_ick@14c {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&clkdiv32k_ck>;
                clock-div = <1>;
        };
 
-       pruss_ocp_gclk: pruss_ocp_gclk {
+       pruss_ocp_gclk: pruss_ocp_gclk@530 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&l3_gclk>, <&dpll_disp_m2_ck>;
                reg = <0x0530>;
        };
 
-       mmu_fck: mmu_fck {
+       mmu_fck: mmu_fck@914 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&dpll_core_m4_ck>;
                reg = <0x0914>;
        };
 
-       timer1_fck: timer1_fck {
+       timer1_fck: timer1_fck@528 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&sys_clkin_ck>, <&clkdiv32k_ick>, <&tclkin_ck>, <&clk_rc32k_ck>, <&clk_32768_ck>;
                reg = <0x0528>;
        };
 
-       timer2_fck: timer2_fck {
+       timer2_fck: timer2_fck@508 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clkdiv32k_ick>;
                reg = <0x0508>;
        };
 
-       timer3_fck: timer3_fck {
+       timer3_fck: timer3_fck@50c {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clkdiv32k_ick>;
                reg = <0x050c>;
        };
 
-       timer4_fck: timer4_fck {
+       timer4_fck: timer4_fck@510 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clkdiv32k_ick>;
                reg = <0x0510>;
        };
 
-       timer5_fck: timer5_fck {
+       timer5_fck: timer5_fck@518 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clkdiv32k_ick>;
                reg = <0x0518>;
        };
 
-       timer6_fck: timer6_fck {
+       timer6_fck: timer6_fck@51c {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clkdiv32k_ick>;
                reg = <0x051c>;
        };
 
-       timer7_fck: timer7_fck {
+       timer7_fck: timer7_fck@504 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clkdiv32k_ick>;
                reg = <0x0504>;
        };
 
-       usbotg_fck: usbotg_fck {
+       usbotg_fck: usbotg_fck@47c {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&dpll_per_ck>;
                clock-div = <2>;
        };
 
-       ieee5000_fck: ieee5000_fck {
+       ieee5000_fck: ieee5000_fck@e4 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&dpll_core_m4_div2_ck>;
                reg = <0x00e4>;
        };
 
-       wdt1_fck: wdt1_fck {
+       wdt1_fck: wdt1_fck@538 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&clk_rc32k_ck>, <&clkdiv32k_ick>;
                clock-div = <2>;
        };
 
-       cpsw_cpts_rft_clk: cpsw_cpts_rft_clk {
+       cpsw_cpts_rft_clk: cpsw_cpts_rft_clk@520 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&dpll_core_m5_ck>, <&dpll_core_m4_ck>;
                reg = <0x0520>;
        };
 
-       gpio0_dbclk_mux_ck: gpio0_dbclk_mux_ck {
+       gpio0_dbclk_mux_ck: gpio0_dbclk_mux_ck@53c {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&clk_rc32k_ck>, <&clk_32768_ck>, <&clkdiv32k_ick>;
                reg = <0x053c>;
        };
 
-       gpio0_dbclk: gpio0_dbclk {
+       gpio0_dbclk: gpio0_dbclk@408 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&gpio0_dbclk_mux_ck>;
                reg = <0x0408>;
        };
 
-       gpio1_dbclk: gpio1_dbclk {
+       gpio1_dbclk: gpio1_dbclk@ac {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&clkdiv32k_ick>;
                reg = <0x00ac>;
        };
 
-       gpio2_dbclk: gpio2_dbclk {
+       gpio2_dbclk: gpio2_dbclk@b0 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&clkdiv32k_ick>;
                reg = <0x00b0>;
        };
 
-       gpio3_dbclk: gpio3_dbclk {
+       gpio3_dbclk: gpio3_dbclk@b4 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&clkdiv32k_ick>;
                reg = <0x00b4>;
        };
 
-       lcd_gclk: lcd_gclk {
+       lcd_gclk: lcd_gclk@534 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&dpll_disp_m2_ck>, <&dpll_core_m5_ck>, <&dpll_per_m2_ck>;
                clock-div = <2>;
        };
 
-       gfx_fclk_clksel_ck: gfx_fclk_clksel_ck {
+       gfx_fclk_clksel_ck: gfx_fclk_clksel_ck@52c {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&dpll_core_m4_ck>, <&dpll_per_m2_ck>;
                reg = <0x052c>;
        };
 
-       gfx_fck_div_ck: gfx_fck_div_ck {
+       gfx_fck_div_ck: gfx_fck_div_ck@52c {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&gfx_fclk_clksel_ck>;
                ti,max-div = <2>;
        };
 
-       sysclkout_pre_ck: sysclkout_pre_ck {
+       sysclkout_pre_ck: sysclkout_pre_ck@700 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&clk_32768_ck>, <&l3_gclk>, <&dpll_ddr_m2_ck>, <&dpll_per_m2_ck>, <&lcd_gclk>;
                reg = <0x0700>;
        };
 
-       clkout2_div_ck: clkout2_div_ck {
+       clkout2_div_ck: clkout2_div_ck@700 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&sysclkout_pre_ck>;
                reg = <0x0700>;
        };
 
-       dbg_sysclk_ck: dbg_sysclk_ck {
+       dbg_sysclk_ck: dbg_sysclk_ck@414 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&sys_clkin_ck>;
                reg = <0x0414>;
        };
 
-       dbg_clka_ck: dbg_clka_ck {
+       dbg_clka_ck: dbg_clka_ck@414 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&dpll_core_m4_ck>;
                reg = <0x0414>;
        };
 
-       stm_pmd_clock_mux_ck: stm_pmd_clock_mux_ck {
+       stm_pmd_clock_mux_ck: stm_pmd_clock_mux_ck@414 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&dbg_sysclk_ck>, <&dbg_clka_ck>;
                reg = <0x0414>;
        };
 
-       trace_pmd_clk_mux_ck: trace_pmd_clk_mux_ck {
+       trace_pmd_clk_mux_ck: trace_pmd_clk_mux_ck@414 {
                #clock-cells = <0>;
                compatible = "ti,mux-clock";
                clocks = <&dbg_sysclk_ck>, <&dbg_clka_ck>;
                reg = <0x0414>;
        };
 
-       stm_clk_div_ck: stm_clk_div_ck {
+       stm_clk_div_ck: stm_clk_div_ck@414 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&stm_pmd_clock_mux_ck>;
                ti,index-power-of-two;
        };
 
-       trace_clk_div_ck: trace_clk_div_ck {
+       trace_clk_div_ck: trace_clk_div_ck@414 {
                #clock-cells = <0>;
                compatible = "ti,divider-clock";
                clocks = <&trace_pmd_clk_mux_ck>;
                ti,index-power-of-two;
        };
 
-       clkout2_ck: clkout2_ck {
+       clkout2_ck: clkout2_ck@700 {
                #clock-cells = <0>;
                compatible = "ti,gate-clock";
                clocks = <&clkout2_div_ck>;