1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot 3*f126890aSEmmanuel Vadot&scrm { 4*f126890aSEmmanuel Vadot main_fapll: main_fapll { 5*f126890aSEmmanuel Vadot #clock-cells = <1>; 6*f126890aSEmmanuel Vadot compatible = "ti,dm816-fapll-clock"; 7*f126890aSEmmanuel Vadot reg = <0x400 0x40>; 8*f126890aSEmmanuel Vadot clocks = <&sys_clkin_ck &sys_clkin_ck>; 9*f126890aSEmmanuel Vadot clock-indices = <1>, <2>, <3>, <4>, <5>, 10*f126890aSEmmanuel Vadot <6>, <7>; 11*f126890aSEmmanuel Vadot clock-output-names = "main_pll_clk1", 12*f126890aSEmmanuel Vadot "main_pll_clk2", 13*f126890aSEmmanuel Vadot "main_pll_clk3", 14*f126890aSEmmanuel Vadot "main_pll_clk4", 15*f126890aSEmmanuel Vadot "main_pll_clk5", 16*f126890aSEmmanuel Vadot "main_pll_clk6", 17*f126890aSEmmanuel Vadot "main_pll_clk7"; 18*f126890aSEmmanuel Vadot }; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot ddr_fapll: ddr_fapll { 21*f126890aSEmmanuel Vadot #clock-cells = <1>; 22*f126890aSEmmanuel Vadot compatible = "ti,dm816-fapll-clock"; 23*f126890aSEmmanuel Vadot reg = <0x440 0x30>; 24*f126890aSEmmanuel Vadot clocks = <&sys_clkin_ck &sys_clkin_ck>; 25*f126890aSEmmanuel Vadot clock-indices = <1>, <2>, <3>, <4>; 26*f126890aSEmmanuel Vadot clock-output-names = "ddr_pll_clk1", 27*f126890aSEmmanuel Vadot "ddr_pll_clk2", 28*f126890aSEmmanuel Vadot "ddr_pll_clk3", 29*f126890aSEmmanuel Vadot "ddr_pll_clk4"; 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot video_fapll: video_fapll { 33*f126890aSEmmanuel Vadot #clock-cells = <1>; 34*f126890aSEmmanuel Vadot compatible = "ti,dm816-fapll-clock"; 35*f126890aSEmmanuel Vadot reg = <0x470 0x30>; 36*f126890aSEmmanuel Vadot clocks = <&sys_clkin_ck &sys_clkin_ck>; 37*f126890aSEmmanuel Vadot clock-indices = <1>, <2>, <3>; 38*f126890aSEmmanuel Vadot clock-output-names = "video_pll_clk1", 39*f126890aSEmmanuel Vadot "video_pll_clk2", 40*f126890aSEmmanuel Vadot "video_pll_clk3"; 41*f126890aSEmmanuel Vadot }; 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot audio_fapll: audio_fapll { 44*f126890aSEmmanuel Vadot #clock-cells = <1>; 45*f126890aSEmmanuel Vadot compatible = "ti,dm816-fapll-clock"; 46*f126890aSEmmanuel Vadot reg = <0x4a0 0x30>; 47*f126890aSEmmanuel Vadot clocks = <&main_fapll 7>, < &sys_clkin_ck>; 48*f126890aSEmmanuel Vadot clock-indices = <1>, <2>, <3>, <4>, <5>; 49*f126890aSEmmanuel Vadot clock-output-names = "audio_pll_clk1", 50*f126890aSEmmanuel Vadot "audio_pll_clk2", 51*f126890aSEmmanuel Vadot "audio_pll_clk3", 52*f126890aSEmmanuel Vadot "audio_pll_clk4", 53*f126890aSEmmanuel Vadot "audio_pll_clk5"; 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot}; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot&scrm_clocks { 58*f126890aSEmmanuel Vadot secure_32k_ck: secure_32k_ck { 59*f126890aSEmmanuel Vadot #clock-cells = <0>; 60*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 61*f126890aSEmmanuel Vadot clock-frequency = <32768>; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot 64*f126890aSEmmanuel Vadot sys_32k_ck: sys_32k_ck { 65*f126890aSEmmanuel Vadot #clock-cells = <0>; 66*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 67*f126890aSEmmanuel Vadot clock-frequency = <32768>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot tclkin_ck: tclkin_ck { 71*f126890aSEmmanuel Vadot #clock-cells = <0>; 72*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 73*f126890aSEmmanuel Vadot clock-frequency = <32768>; 74*f126890aSEmmanuel Vadot }; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot sys_clkin_ck: sys_clkin_ck { 77*f126890aSEmmanuel Vadot #clock-cells = <0>; 78*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 79*f126890aSEmmanuel Vadot clock-frequency = <27000000>; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot}; 82*f126890aSEmmanuel Vadot 83*f126890aSEmmanuel Vadot/* 0x48180000 */ 84*f126890aSEmmanuel Vadot&prcm_clocks { 85*f126890aSEmmanuel Vadot clkout_pre_ck: clkout_pre_ck@100 { 86*f126890aSEmmanuel Vadot #clock-cells = <0>; 87*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 88*f126890aSEmmanuel Vadot clocks = <&main_fapll 5 &ddr_fapll 1 &video_fapll 1 89*f126890aSEmmanuel Vadot &audio_fapll 1>; 90*f126890aSEmmanuel Vadot reg = <0x100>; 91*f126890aSEmmanuel Vadot }; 92*f126890aSEmmanuel Vadot 93*f126890aSEmmanuel Vadot clkout_div_ck: clkout_div_ck@100 { 94*f126890aSEmmanuel Vadot #clock-cells = <0>; 95*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 96*f126890aSEmmanuel Vadot clocks = <&clkout_pre_ck>; 97*f126890aSEmmanuel Vadot ti,bit-shift = <3>; 98*f126890aSEmmanuel Vadot ti,max-div = <8>; 99*f126890aSEmmanuel Vadot reg = <0x100>; 100*f126890aSEmmanuel Vadot }; 101*f126890aSEmmanuel Vadot 102*f126890aSEmmanuel Vadot clkout_ck: clkout_ck@100 { 103*f126890aSEmmanuel Vadot #clock-cells = <0>; 104*f126890aSEmmanuel Vadot compatible = "ti,gate-clock"; 105*f126890aSEmmanuel Vadot clocks = <&clkout_div_ck>; 106*f126890aSEmmanuel Vadot ti,bit-shift = <7>; 107*f126890aSEmmanuel Vadot reg = <0x100>; 108*f126890aSEmmanuel Vadot }; 109*f126890aSEmmanuel Vadot 110*f126890aSEmmanuel Vadot /* CM_DPLL clocks p1795 */ 111*f126890aSEmmanuel Vadot sysclk1_ck: sysclk1_ck@300 { 112*f126890aSEmmanuel Vadot #clock-cells = <0>; 113*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 114*f126890aSEmmanuel Vadot clocks = <&main_fapll 1>; 115*f126890aSEmmanuel Vadot ti,max-div = <7>; 116*f126890aSEmmanuel Vadot reg = <0x0300>; 117*f126890aSEmmanuel Vadot }; 118*f126890aSEmmanuel Vadot 119*f126890aSEmmanuel Vadot sysclk2_ck: sysclk2_ck@304 { 120*f126890aSEmmanuel Vadot #clock-cells = <0>; 121*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 122*f126890aSEmmanuel Vadot clocks = <&main_fapll 2>; 123*f126890aSEmmanuel Vadot ti,max-div = <7>; 124*f126890aSEmmanuel Vadot reg = <0x0304>; 125*f126890aSEmmanuel Vadot }; 126*f126890aSEmmanuel Vadot 127*f126890aSEmmanuel Vadot sysclk3_ck: sysclk3_ck@308 { 128*f126890aSEmmanuel Vadot #clock-cells = <0>; 129*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 130*f126890aSEmmanuel Vadot clocks = <&main_fapll 3>; 131*f126890aSEmmanuel Vadot ti,max-div = <7>; 132*f126890aSEmmanuel Vadot reg = <0x0308>; 133*f126890aSEmmanuel Vadot }; 134*f126890aSEmmanuel Vadot 135*f126890aSEmmanuel Vadot sysclk4_ck: sysclk4_ck@30c { 136*f126890aSEmmanuel Vadot #clock-cells = <0>; 137*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 138*f126890aSEmmanuel Vadot clocks = <&main_fapll 4>; 139*f126890aSEmmanuel Vadot ti,max-div = <1>; 140*f126890aSEmmanuel Vadot reg = <0x030c>; 141*f126890aSEmmanuel Vadot }; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot sysclk5_ck: sysclk5_ck@310 { 144*f126890aSEmmanuel Vadot #clock-cells = <0>; 145*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 146*f126890aSEmmanuel Vadot clocks = <&sysclk4_ck>; 147*f126890aSEmmanuel Vadot ti,max-div = <1>; 148*f126890aSEmmanuel Vadot reg = <0x0310>; 149*f126890aSEmmanuel Vadot }; 150*f126890aSEmmanuel Vadot 151*f126890aSEmmanuel Vadot sysclk6_ck: sysclk6_ck@314 { 152*f126890aSEmmanuel Vadot #clock-cells = <0>; 153*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 154*f126890aSEmmanuel Vadot clocks = <&main_fapll 4>; 155*f126890aSEmmanuel Vadot ti,dividers = <2>, <4>; 156*f126890aSEmmanuel Vadot reg = <0x0314>; 157*f126890aSEmmanuel Vadot }; 158*f126890aSEmmanuel Vadot 159*f126890aSEmmanuel Vadot sysclk10_ck: sysclk10_ck@324 { 160*f126890aSEmmanuel Vadot #clock-cells = <0>; 161*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 162*f126890aSEmmanuel Vadot clocks = <&ddr_fapll 2>; 163*f126890aSEmmanuel Vadot ti,max-div = <7>; 164*f126890aSEmmanuel Vadot reg = <0x0324>; 165*f126890aSEmmanuel Vadot }; 166*f126890aSEmmanuel Vadot 167*f126890aSEmmanuel Vadot sysclk24_ck: sysclk24_ck@3b4 { 168*f126890aSEmmanuel Vadot #clock-cells = <0>; 169*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 170*f126890aSEmmanuel Vadot clocks = <&main_fapll 5>; 171*f126890aSEmmanuel Vadot ti,max-div = <7>; 172*f126890aSEmmanuel Vadot reg = <0x03b4>; 173*f126890aSEmmanuel Vadot }; 174*f126890aSEmmanuel Vadot 175*f126890aSEmmanuel Vadot mpu_ck: mpu_ck@15dc { 176*f126890aSEmmanuel Vadot #clock-cells = <0>; 177*f126890aSEmmanuel Vadot compatible = "ti,gate-clock"; 178*f126890aSEmmanuel Vadot clocks = <&sysclk2_ck>; 179*f126890aSEmmanuel Vadot ti,bit-shift = <1>; 180*f126890aSEmmanuel Vadot reg = <0x15dc>; 181*f126890aSEmmanuel Vadot }; 182*f126890aSEmmanuel Vadot 183*f126890aSEmmanuel Vadot audio_pll_a_ck: audio_pll_a_ck@35c { 184*f126890aSEmmanuel Vadot #clock-cells = <0>; 185*f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 186*f126890aSEmmanuel Vadot clocks = <&audio_fapll 1>; 187*f126890aSEmmanuel Vadot ti,max-div = <7>; 188*f126890aSEmmanuel Vadot reg = <0x035c>; 189*f126890aSEmmanuel Vadot }; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot sysclk18_ck: sysclk18_ck@378 { 192*f126890aSEmmanuel Vadot #clock-cells = <0>; 193*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 194*f126890aSEmmanuel Vadot clocks = <&sys_32k_ck>, <&audio_pll_a_ck>; 195*f126890aSEmmanuel Vadot reg = <0x0378>; 196*f126890aSEmmanuel Vadot }; 197*f126890aSEmmanuel Vadot 198*f126890aSEmmanuel Vadot timer1_fck: timer1_fck@390 { 199*f126890aSEmmanuel Vadot #clock-cells = <0>; 200*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 201*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 202*f126890aSEmmanuel Vadot reg = <0x0390>; 203*f126890aSEmmanuel Vadot }; 204*f126890aSEmmanuel Vadot 205*f126890aSEmmanuel Vadot timer2_fck: timer2_fck@394 { 206*f126890aSEmmanuel Vadot #clock-cells = <0>; 207*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 208*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 209*f126890aSEmmanuel Vadot reg = <0x0394>; 210*f126890aSEmmanuel Vadot }; 211*f126890aSEmmanuel Vadot 212*f126890aSEmmanuel Vadot timer3_fck: timer3_fck@398 { 213*f126890aSEmmanuel Vadot #clock-cells = <0>; 214*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 215*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 216*f126890aSEmmanuel Vadot reg = <0x0398>; 217*f126890aSEmmanuel Vadot }; 218*f126890aSEmmanuel Vadot 219*f126890aSEmmanuel Vadot timer4_fck: timer4_fck@39c { 220*f126890aSEmmanuel Vadot #clock-cells = <0>; 221*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 222*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 223*f126890aSEmmanuel Vadot reg = <0x039c>; 224*f126890aSEmmanuel Vadot }; 225*f126890aSEmmanuel Vadot 226*f126890aSEmmanuel Vadot timer5_fck: timer5_fck@3a0 { 227*f126890aSEmmanuel Vadot #clock-cells = <0>; 228*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 229*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 230*f126890aSEmmanuel Vadot reg = <0x03a0>; 231*f126890aSEmmanuel Vadot }; 232*f126890aSEmmanuel Vadot 233*f126890aSEmmanuel Vadot timer6_fck: timer6_fck@3a4 { 234*f126890aSEmmanuel Vadot #clock-cells = <0>; 235*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 236*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 237*f126890aSEmmanuel Vadot reg = <0x03a4>; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot 240*f126890aSEmmanuel Vadot timer7_fck: timer7_fck@3a8 { 241*f126890aSEmmanuel Vadot #clock-cells = <0>; 242*f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 243*f126890aSEmmanuel Vadot clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; 244*f126890aSEmmanuel Vadot reg = <0x03a8>; 245*f126890aSEmmanuel Vadot }; 246*f126890aSEmmanuel Vadot}; 247*f126890aSEmmanuel Vadot 248*f126890aSEmmanuel Vadot&prcm { 249*f126890aSEmmanuel Vadot default_cm: default_cm@500 { 250*f126890aSEmmanuel Vadot compatible = "ti,omap4-cm"; 251*f126890aSEmmanuel Vadot reg = <0x500 0x100>; 252*f126890aSEmmanuel Vadot #address-cells = <1>; 253*f126890aSEmmanuel Vadot #size-cells = <1>; 254*f126890aSEmmanuel Vadot ranges = <0 0x500 0x100>; 255*f126890aSEmmanuel Vadot 256*f126890aSEmmanuel Vadot default_clkctrl: clk@0 { 257*f126890aSEmmanuel Vadot compatible = "ti,clkctrl"; 258*f126890aSEmmanuel Vadot reg = <0x0 0x5c>; 259*f126890aSEmmanuel Vadot #clock-cells = <2>; 260*f126890aSEmmanuel Vadot }; 261*f126890aSEmmanuel Vadot }; 262*f126890aSEmmanuel Vadot 263*f126890aSEmmanuel Vadot alwon_cm: alwon_cm@1400 { 264*f126890aSEmmanuel Vadot compatible = "ti,omap4-cm"; 265*f126890aSEmmanuel Vadot reg = <0x1400 0x300>; 266*f126890aSEmmanuel Vadot #address-cells = <1>; 267*f126890aSEmmanuel Vadot #size-cells = <1>; 268*f126890aSEmmanuel Vadot ranges = <0 0x1400 0x300>; 269*f126890aSEmmanuel Vadot 270*f126890aSEmmanuel Vadot alwon_clkctrl: clk@0 { 271*f126890aSEmmanuel Vadot compatible = "ti,clkctrl"; 272*f126890aSEmmanuel Vadot reg = <0x0 0x208>; 273*f126890aSEmmanuel Vadot #clock-cells = <2>; 274*f126890aSEmmanuel Vadot }; 275*f126890aSEmmanuel Vadot }; 276*f126890aSEmmanuel Vadot}; 277