1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * Copyright 2018-2019 NXP 4 * Dong Aisheng <aisheng.dong@nxp.com> 5 */ 6 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 9 10 conn_axi_clk: clock-conn-axi { 11 compatible = "fixed-clock"; 12 #clock-cells = <0>; 13 clock-frequency = <333333333>; 14 clock-output-names = "conn_axi_clk"; 15 }; 16 17 conn_ahb_clk: clock-conn-ahb { 18 compatible = "fixed-clock"; 19 #clock-cells = <0>; 20 clock-frequency = <166666666>; 21 clock-output-names = "conn_ahb_clk"; 22 }; 23 24 conn_ipg_clk: clock-conn-ipg { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <83333333>; 28 clock-output-names = "conn_ipg_clk"; 29 }; 30 31 conn_bch_clk: clock-conn-bch { 32 compatible = "fixed-clock"; 33 #clock-cells = <0>; 34 clock-frequency = <400000000>; 35 clock-output-names = "conn_bch_clk"; 36 }; 37 38 conn_subsys: bus@5b000000 { 39 compatible = "simple-bus"; 40 #address-cells = <1>; 41 #size-cells = <1>; 42 ranges = <0x5b000000 0x0 0x5b000000 0x 43 44 usbotg1: usb@5b0d0000 { 45 compatible = "fsl,imx7ulp-usb" 46 reg = <0x5b0d0000 0x200>; 47 interrupt-parent = <&gic>; 48 interrupts = <GIC_SPI 267 IRQ_ 49 fsl,usbphy = <&usbphy1>; 50 fsl,usbmisc = <&usbmisc1 0>; 51 clocks = <&usb2_lpcg IMX_LPCG_ 52 ahb-burst-config = <0x0>; 53 tx-burst-size-dword = <0x10>; 54 rx-burst-size-dword = <0x10>; 55 power-domains = <&pd IMX_SC_R_ 56 status = "disabled"; 57 }; 58 59 usbmisc1: usbmisc@5b0d0200 { 60 #index-cells = <1>; 61 compatible = "fsl,imx7ulp-usbm 62 reg = <0x5b0d0200 0x200>; 63 }; 64 65 usbphy1: usbphy@5b100000 { 66 compatible = "fsl,imx7ulp-usbp 67 reg = <0x5b100000 0x1000>; 68 clocks = <&usb2_lpcg IMX_LPCG_ 69 power-domains = <&pd IMX_SC_R_ 70 status = "disabled"; 71 }; 72 73 usdhc1: mmc@5b010000 { 74 interrupts = <GIC_SPI 232 IRQ_ 75 reg = <0x5b010000 0x10000>; 76 clocks = <&sdhc0_lpcg IMX_LPCG 77 <&sdhc0_lpcg IMX_LPCG 78 <&sdhc0_lpcg IMX_LPCG 79 clock-names = "ipg", "ahb", "p 80 power-domains = <&pd IMX_SC_R_ 81 status = "disabled"; 82 }; 83 84 usdhc2: mmc@5b020000 { 85 interrupts = <GIC_SPI 233 IRQ_ 86 reg = <0x5b020000 0x10000>; 87 clocks = <&sdhc1_lpcg IMX_LPCG 88 <&sdhc1_lpcg IMX_LPCG 89 <&sdhc1_lpcg IMX_LPCG 90 clock-names = "ipg", "ahb", "p 91 power-domains = <&pd IMX_SC_R_ 92 fsl,tuning-start-tap = <20>; 93 fsl,tuning-step = <2>; 94 status = "disabled"; 95 }; 96 97 usdhc3: mmc@5b030000 { 98 interrupts = <GIC_SPI 234 IRQ_ 99 reg = <0x5b030000 0x10000>; 100 clocks = <&sdhc2_lpcg IMX_LPCG 101 <&sdhc2_lpcg IMX_LPCG 102 <&sdhc2_lpcg IMX_LPCG 103 clock-names = "ipg", "ahb", "p 104 power-domains = <&pd IMX_SC_R_ 105 status = "disabled"; 106 }; 107 108 fec1: ethernet@5b040000 { 109 reg = <0x5b040000 0x10000>; 110 interrupts = <GIC_SPI 258 IRQ_ 111 <GIC_SPI 256 IRQ_ 112 <GIC_SPI 257 IRQ_ 113 <GIC_SPI 259 IRQ_ 114 clocks = <&enet0_lpcg IMX_LPCG 115 <&enet0_lpcg IMX_LPCG 116 <&enet0_lpcg IMX_LPCG 117 <&enet0_lpcg IMX_LPCG 118 clock-names = "ipg", "ahb", "e 119 assigned-clocks = <&clk IMX_SC 120 <&clk IMX_SC 121 assigned-clock-rates = <250000 122 fsl,num-tx-queues = <3>; 123 fsl,num-rx-queues = <3>; 124 power-domains = <&pd IMX_SC_R_ 125 status = "disabled"; 126 }; 127 128 fec2: ethernet@5b050000 { 129 reg = <0x5b050000 0x10000>; 130 interrupts = <GIC_SPI 262 IRQ_ 131 <GIC_SPI 260 I 132 <GIC_SPI 261 I 133 <GIC_SPI 263 I 134 clocks = <&enet1_lpcg IMX_LPCG 135 <&enet1_lpcg IMX_LPCG 136 <&enet1_lpcg IMX_LPCG 137 <&enet1_lpcg IMX_LPCG 138 clock-names = "ipg", "ahb", "e 139 assigned-clocks = <&clk IMX_SC 140 <&clk IMX_SC 141 assigned-clock-rates = <250000 142 fsl,num-tx-queues = <3>; 143 fsl,num-rx-queues = <3>; 144 power-domains = <&pd IMX_SC_R_ 145 status = "disabled"; 146 }; 147 148 usbotg3: usb@5b110000 { 149 compatible = "fsl,imx8qm-usb3" 150 reg = <0x5b110000 0x10000>; 151 #address-cells = <1>; 152 #size-cells = <1>; 153 ranges; 154 clocks = <&usb3_lpcg IMX_LPCG_ 155 <&usb3_lpcg IMX_LPCG_ 156 <&usb3_lpcg IMX_LPCG_ 157 <&usb3_lpcg IMX_LPCG_ 158 <&usb3_lpcg IMX_LPCG_ 159 clock-names = "lpm", "bus", "a 160 assigned-clocks = <&clk IMX_SC 161 assigned-clock-rates = <250000 162 power-domains = <&pd IMX_SC_R_ 163 status = "disabled"; 164 165 usbotg3_cdns3: usb@5b120000 { 166 compatible = "cdns,usb 167 reg = <0x5b120000 0x10 168 <0x5b130000 0x10 169 <0x5b140000 0x10 170 reg-names = "otg", "xh 171 interrupt-parent = <&g 172 interrupts = <GIC_SPI 173 <GIC_SPI 174 <GIC_SPI 175 <GIC_SPI 176 interrupt-names = "hos 177 phys = <&usb3_phy>; 178 phy-names = "cdns3,usb 179 cdns,on-chip-buff-size 180 status = "disabled"; 181 }; 182 }; 183 184 usb3_phy: usb-phy@5b160000 { 185 compatible = "nxp,salvo-phy"; 186 reg = <0x5b160000 0x40000>; 187 clocks = <&usb3_lpcg IMX_LPCG_ 188 clock-names = "salvo_phy_clk"; 189 power-domains = <&pd IMX_SC_R_ 190 #phy-cells = <0>; 191 status = "disabled"; 192 }; 193 194 /* LPCG clocks */ 195 sdhc0_lpcg: clock-controller@5b200000 196 compatible = "fsl,imx8qxp-lpcg 197 reg = <0x5b200000 0x10000>; 198 #clock-cells = <1>; 199 clocks = <&clk IMX_SC_R_SDHC_0 200 <&conn_ipg_clk>, <&co 201 clock-indices = <IMX_LPCG_CLK_ 202 <IMX_LPCG_CLK_ 203 clock-output-names = "sdhc0_lp 204 "sdhc0_lp 205 "sdhc0_lp 206 power-domains = <&pd IMX_SC_R_ 207 }; 208 209 sdhc1_lpcg: clock-controller@5b210000 210 compatible = "fsl,imx8qxp-lpcg 211 reg = <0x5b210000 0x10000>; 212 #clock-cells = <1>; 213 clocks = <&clk IMX_SC_R_SDHC_1 214 <&conn_ipg_clk>, <&co 215 clock-indices = <IMX_LPCG_CLK_ 216 <IMX_LPCG_CLK_ 217 clock-output-names = "sdhc1_lp 218 "sdhc1_lp 219 "sdhc1_lp 220 power-domains = <&pd IMX_SC_R_ 221 }; 222 223 sdhc2_lpcg: clock-controller@5b220000 224 compatible = "fsl,imx8qxp-lpcg 225 reg = <0x5b220000 0x10000>; 226 #clock-cells = <1>; 227 clocks = <&clk IMX_SC_R_SDHC_2 228 <&conn_ipg_clk>, <&co 229 clock-indices = <IMX_LPCG_CLK_ 230 <IMX_LPCG_CLK_ 231 clock-output-names = "sdhc2_lp 232 "sdhc2_lp 233 "sdhc2_lp 234 power-domains = <&pd IMX_SC_R_ 235 }; 236 237 enet0_lpcg: clock-controller@5b230000 238 compatible = "fsl,imx8qxp-lpcg 239 reg = <0x5b230000 0x10000>; 240 #clock-cells = <1>; 241 clocks = <&clk IMX_SC_R_ENET_0 242 <&clk IMX_SC_R_ENET_0 243 <&conn_axi_clk>, 244 <&clk IMX_SC_R_ENET_0 245 <&conn_ipg_clk>, 246 <&conn_ipg_clk>; 247 clock-indices = <IMX_LPCG_CLK_ 248 <IMX_LPCG_CLK_ 249 <IMX_LPCG_CLK_ 250 clock-output-names = "enet0_lp 251 "enet0_lp 252 "enet0_lp 253 "enet0_lp 254 "enet0_lp 255 "enet0_lp 256 power-domains = <&pd IMX_SC_R_ 257 }; 258 259 enet1_lpcg: clock-controller@5b240000 260 compatible = "fsl,imx8qxp-lpcg 261 reg = <0x5b240000 0x10000>; 262 #clock-cells = <1>; 263 clocks = <&clk IMX_SC_R_ENET_1 264 <&clk IMX_SC_R_ENET_1 265 <&conn_axi_clk>, 266 <&clk IMX_SC_R_ENET_1 267 <&conn_ipg_clk>, 268 <&conn_ipg_clk>; 269 clock-indices = <IMX_LPCG_CLK_ 270 <IMX_LPCG_CLK_ 271 <IMX_LPCG_CLK_ 272 clock-output-names = "enet1_lp 273 "enet1_lp 274 "enet1_lp 275 "enet1_lp 276 "enet1_lp 277 "enet1_lp 278 power-domains = <&pd IMX_SC_R_ 279 }; 280 281 usb2_lpcg: clock-controller@5b270000 { 282 compatible = "fsl,imx8qxp-lpcg 283 reg = <0x5b270000 0x10000>; 284 #clock-cells = <1>; 285 clocks = <&conn_ahb_clk>, <&co 286 clock-indices = <IMX_LPCG_CLK_ 287 clock-output-names = "usboh3_a 288 power-domains = <&pd IMX_SC_R_ 289 }; 290 291 usb3_lpcg: clock-controller@5b280000 { 292 compatible = "fsl,imx8qxp-lpcg 293 reg = <0x5b280000 0x10000>; 294 #clock-cells = <1>; 295 clock-indices = <IMX_LPCG_CLK_ 296 <IMX_LPCG_CLK_ 297 <IMX_LPCG_CLK_ 298 clocks = <&clk IMX_SC_R_USB_2 299 <&clk IMX_SC_R_USB_2 300 <&conn_ipg_clk>, 301 <&conn_ipg_clk>, 302 <&conn_ipg_clk>, 303 <&clk IMX_SC_R_USB_2 304 clock-output-names = "usb3_app 305 "usb3_lpm 306 "usb3_ipg 307 "usb3_cor 308 "usb3_phy 309 "usb3_acl 310 power-domains = <&pd IMX_SC_R_ 311 }; 312 313 rawnand_0_lpcg: clock-controller@5b290 314 compatible = "fsl,imx8qxp-lpcg 315 reg = <0x5b290000 0x4>; 316 #clock-cells = <1>; 317 clocks = <&clk IMX_SC_R_NAND I 318 <&clk IMX_SC_R_NAND I 319 <&conn_axi_clk>, 320 <&conn_axi_clk>; 321 clock-indices = <IMX_LPCG_CLK_ 322 <IMX_LPCG_CLK_ 323 clock-output-names = "gpmi_bch 324 "gpmi_io" 325 "gpmi_apb 326 "gpmi_bch 327 power-domains = <&pd IMX_SC_R_ 328 }; 329 330 rawnand_4_lpcg: clock-controller@5b290 331 compatible = "fsl,imx8qxp-lpcg 332 reg = <0x5b290004 0x10000>; 333 #clock-cells = <1>; 334 clocks = <&conn_axi_clk>; 335 clock-indices = <IMX_LPCG_CLK_ 336 clock-output-names = "apbhdma_ 337 power-domains = <&pd IMX_SC_R_ 338 }; 339 340 dma_apbh: dma-controller@5b810000 { 341 compatible = "fsl,imx8qxp-dma- 342 reg = <0x5b810000 0x2000>; 343 interrupts = <GIC_SPI 274 IRQ_ 344 <GIC_SPI 274 IRQ_ 345 <GIC_SPI 274 IRQ_ 346 <GIC_SPI 274 IRQ_ 347 #dma-cells = <1>; 348 dma-channels = <4>; 349 clocks = <&rawnand_4_lpcg IMX_ 350 power-domains = <&pd IMX_SC_R_ 351 }; 352 353 gpmi: nand-controller@5b812000{ 354 compatible = "fsl,imx8qxp-gpmi 355 reg = <0x5b812000 0x2000>, <0x 356 reg-names = "gpmi-nand", "bch" 357 #address-cells = <1>; 358 #size-cells = <0>; 359 interrupts = <GIC_SPI 272 IRQ_ 360 interrupt-names = "bch"; 361 clocks = <&rawnand_0_lpcg IMX_ 362 <&rawnand_0_lpcg IMX_ 363 <&rawnand_0_lpcg IMX_ 364 <&rawnand_0_lpcg IMX_ 365 clock-names = "gpmi_io", "gpmi 366 "gpmi_bch", "gpm 367 dmas = <&dma_apbh 0>; 368 dma-names = "rx-tx"; 369 power-domains = <&pd IMX_SC_R_ 370 assigned-clocks = <&clk IMX_SC 371 assigned-clock-rates = <500000 372 status = "disabled"; 373 }; 374 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.