1 /* 1 /* 2 * BSD LICENSE 2 * BSD LICENSE 3 * 3 * 4 * Copyright(c) 2014 Broadcom Corporation. A 4 * Copyright(c) 2014 Broadcom Corporation. All rights reserved. 5 * 5 * 6 * Redistribution and use in source and binar 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that 7 * modification, are permitted provided that the following conditions 8 * are met: 8 * are met: 9 * 9 * 10 * * Redistributions of source code must re 10 * * Redistributions of source code must retain the above copyright 11 * notice, this list of conditions and th 11 * notice, this list of conditions and the following disclaimer. 12 * * Redistributions in binary form must re 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and th 13 * notice, this list of conditions and the following disclaimer in 14 * the documentation and/or other materia 14 * the documentation and/or other materials provided with the 15 * distribution. 15 * distribution. 16 * * Neither the name of Broadcom Corporati 16 * * Neither the name of Broadcom Corporation nor the names of its 17 * contributors may be used to endorse or 17 * contributors may be used to endorse or promote products derived 18 * from this software without specific pr 18 * from this software without specific prior written permission. 19 * 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANT 21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERC 22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DI 24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAG 25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOOD 26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISIN 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE PO 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 */ 31 */ 32 32 33 #include <dt-bindings/interrupt-controller/arm 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq 34 #include <dt-bindings/interrupt-controller/irq.h> 35 #include <dt-bindings/clock/bcm-cygnus.h> 35 #include <dt-bindings/clock/bcm-cygnus.h> 36 36 37 / { 37 / { 38 #address-cells = <1>; 38 #address-cells = <1>; 39 #size-cells = <1>; 39 #size-cells = <1>; 40 compatible = "brcm,cygnus"; 40 compatible = "brcm,cygnus"; 41 model = "Broadcom Cygnus SoC"; 41 model = "Broadcom Cygnus SoC"; 42 interrupt-parent = <&gic>; 42 interrupt-parent = <&gic>; 43 43 44 aliases { 44 aliases { 45 ethernet0 = ð0; 45 ethernet0 = ð0; 46 }; 46 }; 47 47 48 memory@0 { 48 memory@0 { 49 device_type = "memory"; 49 device_type = "memory"; 50 reg = <0 0>; 50 reg = <0 0>; 51 }; 51 }; 52 52 53 cpus { 53 cpus { 54 #address-cells = <1>; 54 #address-cells = <1>; 55 #size-cells = <0>; 55 #size-cells = <0>; 56 56 57 cpu@0 { 57 cpu@0 { 58 device_type = "cpu"; 58 device_type = "cpu"; 59 compatible = "arm,cort 59 compatible = "arm,cortex-a9"; 60 next-level-cache = <&L 60 next-level-cache = <&L2>; 61 reg = <0x0>; 61 reg = <0x0>; 62 }; 62 }; 63 }; 63 }; 64 64 65 /include/ "bcm-cygnus-clock.dtsi" 65 /include/ "bcm-cygnus-clock.dtsi" 66 66 67 pmu { 67 pmu { 68 compatible = "arm,cortex-a9-pm 68 compatible = "arm,cortex-a9-pmu"; 69 interrupts = <GIC_SPI 8 IRQ_TY 69 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 70 }; 70 }; 71 71 72 core@19000000 { 72 core@19000000 { 73 compatible = "simple-bus"; 73 compatible = "simple-bus"; 74 ranges = <0x00000000 0x1900000 74 ranges = <0x00000000 0x19000000 0x1000000>; 75 #address-cells = <1>; 75 #address-cells = <1>; 76 #size-cells = <1>; 76 #size-cells = <1>; 77 77 78 timer@20200 { 78 timer@20200 { 79 compatible = "arm,cort 79 compatible = "arm,cortex-a9-global-timer"; 80 reg = <0x20200 0x100>; 80 reg = <0x20200 0x100>; 81 interrupts = <GIC_PPI 81 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>; 82 clocks = <&periph_clk> 82 clocks = <&periph_clk>; 83 }; 83 }; 84 84 85 gic: interrupt-controller@2100 85 gic: interrupt-controller@21000 { 86 compatible = "arm,cort 86 compatible = "arm,cortex-a9-gic"; 87 #interrupt-cells = <3> 87 #interrupt-cells = <3>; 88 #address-cells = <0>; 88 #address-cells = <0>; 89 interrupt-controller; 89 interrupt-controller; 90 reg = <0x21000 0x1000> 90 reg = <0x21000 0x1000>, 91 <0x20100 0x100>; 91 <0x20100 0x100>; 92 }; 92 }; 93 93 94 L2: cache-controller@22000 { 94 L2: cache-controller@22000 { 95 compatible = "arm,pl31 95 compatible = "arm,pl310-cache"; 96 reg = <0x22000 0x1000> 96 reg = <0x22000 0x1000>; 97 cache-unified; 97 cache-unified; 98 cache-level = <2>; 98 cache-level = <2>; 99 }; 99 }; 100 }; 100 }; 101 101 102 axi { 102 axi { 103 compatible = "simple-bus"; 103 compatible = "simple-bus"; 104 ranges; 104 ranges; 105 #address-cells = <1>; 105 #address-cells = <1>; 106 #size-cells = <1>; 106 #size-cells = <1>; 107 107 108 otp: otp@301c800 { 108 otp: otp@301c800 { 109 compatible = "brcm,oco 109 compatible = "brcm,ocotp"; 110 reg = <0x0301c800 0x2c 110 reg = <0x0301c800 0x2c>; 111 brcm,ocotp-size = <204 111 brcm,ocotp-size = <2048>; 112 status = "disabled"; 112 status = "disabled"; 113 }; 113 }; 114 114 115 pcie_phy: pcie_phy@301d0a0 { 115 pcie_phy: pcie_phy@301d0a0 { 116 compatible = "brcm,cyg 116 compatible = "brcm,cygnus-pcie-phy"; 117 reg = <0x0301d0a0 0x14 117 reg = <0x0301d0a0 0x14>; 118 #address-cells = <1>; 118 #address-cells = <1>; 119 #size-cells = <0>; 119 #size-cells = <0>; 120 120 121 pcie0_phy: pcie-phy@0 121 pcie0_phy: pcie-phy@0 { 122 reg = <0>; 122 reg = <0>; 123 #phy-cells = < 123 #phy-cells = <0>; 124 }; 124 }; 125 125 126 pcie1_phy: pcie-phy@1 126 pcie1_phy: pcie-phy@1 { 127 reg = <1>; 127 reg = <1>; 128 #phy-cells = < 128 #phy-cells = <0>; 129 }; 129 }; 130 }; 130 }; 131 131 132 pinctrl: pinctrl@301d0c8 { 132 pinctrl: pinctrl@301d0c8 { 133 compatible = "brcm,cyg 133 compatible = "brcm,cygnus-pinmux"; 134 reg = <0x0301d0c8 0x30 134 reg = <0x0301d0c8 0x30>, 135 <0x0301d24c 0x2c 135 <0x0301d24c 0x2c>; 136 136 137 spi_0: spi_0 { 137 spi_0: spi_0 { 138 function = "sp 138 function = "spi0"; 139 groups = "spi0 139 groups = "spi0_grp"; 140 }; 140 }; 141 141 142 spi_1: spi_1 { 142 spi_1: spi_1 { 143 function = "sp 143 function = "spi1"; 144 groups = "spi1 144 groups = "spi1_grp"; 145 }; 145 }; 146 146 147 spi_2: spi_2 { 147 spi_2: spi_2 { 148 function = "sp 148 function = "spi2"; 149 groups = "spi2 149 groups = "spi2_grp"; 150 }; 150 }; 151 }; 151 }; 152 152 153 mailbox: mailbox@3024024 { 153 mailbox: mailbox@3024024 { 154 compatible = "brcm,ipr 154 compatible = "brcm,iproc-mailbox"; 155 reg = <0x03024024 0x40 155 reg = <0x03024024 0x40>; 156 interrupts = <GIC_SPI 156 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 157 #interrupt-cells = <1> 157 #interrupt-cells = <1>; 158 interrupt-controller; 158 interrupt-controller; 159 #mbox-cells = <1>; 159 #mbox-cells = <1>; 160 }; 160 }; 161 161 162 gpio_crmu: gpio@3024800 { 162 gpio_crmu: gpio@3024800 { 163 compatible = "brcm,cyg 163 compatible = "brcm,cygnus-crmu-gpio"; 164 reg = <0x03024800 0x50 164 reg = <0x03024800 0x50>, 165 <0x03024008 0x18 165 <0x03024008 0x18>; 166 ngpios = <6>; 166 ngpios = <6>; 167 #gpio-cells = <2>; 167 #gpio-cells = <2>; 168 gpio-controller; 168 gpio-controller; 169 interrupt-controller; 169 interrupt-controller; 170 #interrupt-cells = <2> 170 #interrupt-cells = <2>; 171 interrupt-parent = <&m 171 interrupt-parent = <&mailbox>; 172 interrupts = <0>; 172 interrupts = <0>; 173 }; 173 }; 174 174 175 mdio: mdio@18002000 { 175 mdio: mdio@18002000 { 176 compatible = "brcm,ipr 176 compatible = "brcm,iproc-mdio"; 177 reg = <0x18002000 0x8> 177 reg = <0x18002000 0x8>; 178 #size-cells = <0>; 178 #size-cells = <0>; 179 #address-cells = <1>; 179 #address-cells = <1>; 180 status = "disabled"; 180 status = "disabled"; 181 181 182 gphy0: ethernet-phy@0 182 gphy0: ethernet-phy@0 { 183 reg = <0>; 183 reg = <0>; 184 }; 184 }; 185 185 186 gphy1: ethernet-phy@1 186 gphy1: ethernet-phy@1 { 187 reg = <1>; 187 reg = <1>; 188 }; 188 }; 189 }; 189 }; 190 190 191 switch: switch@18007000 { 191 switch: switch@18007000 { 192 compatible = "brcm,bcm 192 compatible = "brcm,bcm11360-srab", "brcm,cygnus-srab"; 193 reg = <0x18007000 0x10 193 reg = <0x18007000 0x1000>; 194 status = "disabled"; 194 status = "disabled"; 195 195 196 ports { 196 ports { 197 #address-cells 197 #address-cells = <1>; 198 #size-cells = 198 #size-cells = <0>; 199 199 200 port@0 { 200 port@0 { 201 reg = 201 reg = <0>; 202 phy-ha 202 phy-handle = <&gphy0>; 203 phy-mo 203 phy-mode = "rgmii"; 204 }; 204 }; 205 205 206 port@1 { 206 port@1 { 207 reg = 207 reg = <1>; 208 phy-ha 208 phy-handle = <&gphy1>; 209 phy-mo 209 phy-mode = "rgmii"; 210 }; 210 }; 211 211 212 port@8 { 212 port@8 { 213 reg = 213 reg = <8>; 214 label 214 label = "cpu"; 215 ethern 215 ethernet = <ð0>; 216 fixed- 216 fixed-link { 217 217 speed = <1000>; 218 218 full-duplex; 219 }; 219 }; 220 }; 220 }; 221 }; 221 }; 222 }; 222 }; 223 223 224 i2c0: i2c@18008000 { 224 i2c0: i2c@18008000 { 225 compatible = "brcm,cyg 225 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c"; 226 reg = <0x18008000 0x10 226 reg = <0x18008000 0x100>; 227 #address-cells = <1>; 227 #address-cells = <1>; 228 #size-cells = <0>; 228 #size-cells = <0>; 229 interrupts = <GIC_SPI 229 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 230 clock-frequency = <100 230 clock-frequency = <100000>; 231 status = "disabled"; 231 status = "disabled"; 232 }; 232 }; 233 233 234 wdt0: wdt@18009000 { 234 wdt0: wdt@18009000 { 235 compatible = "arm,sp80 235 compatible = "arm,sp805" , "arm,primecell"; 236 reg = <0x18009000 0x10 236 reg = <0x18009000 0x1000>; 237 interrupts = <GIC_SPI 237 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 238 clocks = <&axi81_clk>, 238 clocks = <&axi81_clk>, <&axi81_clk>; 239 clock-names = "wdog_cl 239 clock-names = "wdog_clk", "apb_pclk"; 240 }; 240 }; 241 241 242 gpio_ccm: gpio@1800a000 { 242 gpio_ccm: gpio@1800a000 { 243 compatible = "brcm,cyg 243 compatible = "brcm,cygnus-ccm-gpio"; 244 reg = <0x1800a000 0x50 244 reg = <0x1800a000 0x50>, 245 <0x0301d164 0x20 245 <0x0301d164 0x20>; 246 ngpios = <24>; 246 ngpios = <24>; 247 #gpio-cells = <2>; 247 #gpio-cells = <2>; 248 gpio-controller; 248 gpio-controller; 249 interrupts = <GIC_SPI 249 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 250 interrupt-controller; 250 interrupt-controller; 251 #interrupt-cells = <2> 251 #interrupt-cells = <2>; 252 }; 252 }; 253 253 254 i2c1: i2c@1800b000 { 254 i2c1: i2c@1800b000 { 255 compatible = "brcm,cyg 255 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c"; 256 reg = <0x1800b000 0x10 256 reg = <0x1800b000 0x100>; 257 #address-cells = <1>; 257 #address-cells = <1>; 258 #size-cells = <0>; 258 #size-cells = <0>; 259 interrupts = <GIC_SPI 259 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 260 clock-frequency = <100 260 clock-frequency = <100000>; 261 status = "disabled"; 261 status = "disabled"; 262 }; 262 }; 263 263 264 pcie0: pcie@18012000 { 264 pcie0: pcie@18012000 { 265 compatible = "brcm,ipr 265 compatible = "brcm,iproc-pcie"; 266 reg = <0x18012000 0x10 266 reg = <0x18012000 0x1000>; 267 267 268 #interrupt-cells = <1> 268 #interrupt-cells = <1>; 269 interrupt-map-mask = < 269 interrupt-map-mask = <0 0 0 0>; 270 interrupt-map = <0 0 0 270 interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 271 271 272 linux,pci-domain = <0> 272 linux,pci-domain = <0>; 273 273 274 bus-range = <0x00 0xff 274 bus-range = <0x00 0xff>; 275 275 276 #address-cells = <3>; 276 #address-cells = <3>; 277 #size-cells = <2>; 277 #size-cells = <2>; 278 device_type = "pci"; 278 device_type = "pci"; 279 ranges = <0x81000000 0 279 ranges = <0x81000000 0 0 0x28000000 0 0x00010000>, 280 <0x82000000 0 280 <0x82000000 0 0x20000000 0x20000000 0 0x04000000>; 281 281 282 phys = <&pcie0_phy>; 282 phys = <&pcie0_phy>; 283 phy-names = "pcie-phy" 283 phy-names = "pcie-phy"; 284 284 285 status = "disabled"; 285 status = "disabled"; 286 286 287 msi-parent = <&msi0>; 287 msi-parent = <&msi0>; 288 msi0: msi { 288 msi0: msi { 289 compatible = " 289 compatible = "brcm,iproc-msi"; 290 msi-controller 290 msi-controller; 291 interrupt-pare 291 interrupt-parent = <&gic>; 292 interrupts = < 292 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 293 < 293 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 294 < 294 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 295 < 295 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 296 }; 296 }; 297 }; 297 }; 298 298 299 pcie1: pcie@18013000 { 299 pcie1: pcie@18013000 { 300 compatible = "brcm,ipr 300 compatible = "brcm,iproc-pcie"; 301 reg = <0x18013000 0x10 301 reg = <0x18013000 0x1000>; 302 302 303 #interrupt-cells = <1> 303 #interrupt-cells = <1>; 304 interrupt-map-mask = < 304 interrupt-map-mask = <0 0 0 0>; 305 interrupt-map = <0 0 0 305 interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 306 306 307 linux,pci-domain = <1> 307 linux,pci-domain = <1>; 308 308 309 bus-range = <0x00 0xff 309 bus-range = <0x00 0xff>; 310 310 311 #address-cells = <3>; 311 #address-cells = <3>; 312 #size-cells = <2>; 312 #size-cells = <2>; 313 device_type = "pci"; 313 device_type = "pci"; 314 ranges = <0x81000000 0 314 ranges = <0x81000000 0 0 0x48000000 0 0x00010000>, 315 <0x82000000 0 315 <0x82000000 0 0x40000000 0x40000000 0 0x04000000>; 316 316 317 phys = <&pcie1_phy>; 317 phys = <&pcie1_phy>; 318 phy-names = "pcie-phy" 318 phy-names = "pcie-phy"; 319 319 320 status = "disabled"; 320 status = "disabled"; 321 321 322 msi-parent = <&msi1>; 322 msi-parent = <&msi1>; 323 msi1: msi { 323 msi1: msi { 324 compatible = " 324 compatible = "brcm,iproc-msi"; 325 msi-controller 325 msi-controller; 326 interrupt-pare 326 interrupt-parent = <&gic>; 327 interrupts = < 327 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 328 < 328 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 329 < 329 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 330 < 330 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 331 }; 331 }; 332 }; 332 }; 333 333 334 dma0: dma@18018000 { 334 dma0: dma@18018000 { 335 compatible = "arm,pl33 335 compatible = "arm,pl330", "arm,primecell"; 336 reg = <0x18018000 0x10 336 reg = <0x18018000 0x1000>; 337 interrupts = <GIC_SPI 337 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, 338 <GIC_SPI 338 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 339 <GIC_SPI 339 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 340 <GIC_SPI 340 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 341 <GIC_SPI 341 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 342 <GIC_SPI 342 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 343 <GIC_SPI 343 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 344 <GIC_SPI 344 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 345 <GIC_SPI 345 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 346 clocks = <&apb_clk>; 346 clocks = <&apb_clk>; 347 clock-names = "apb_pcl 347 clock-names = "apb_pclk"; 348 #dma-cells = <1>; 348 #dma-cells = <1>; 349 }; 349 }; 350 350 351 uart0: serial@18020000 { 351 uart0: serial@18020000 { 352 compatible = "snps,dw- 352 compatible = "snps,dw-apb-uart"; 353 reg = <0x18020000 0x10 353 reg = <0x18020000 0x100>; 354 reg-shift = <2>; 354 reg-shift = <2>; 355 reg-io-width = <4>; 355 reg-io-width = <4>; 356 interrupts = <GIC_SPI 356 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 357 clocks = <&axi81_clk>; 357 clocks = <&axi81_clk>; 358 clock-frequency = <100 358 clock-frequency = <100000000>; 359 status = "disabled"; 359 status = "disabled"; 360 }; 360 }; 361 361 362 uart1: serial@18021000 { 362 uart1: serial@18021000 { 363 compatible = "snps,dw- 363 compatible = "snps,dw-apb-uart"; 364 reg = <0x18021000 0x10 364 reg = <0x18021000 0x100>; 365 reg-shift = <2>; 365 reg-shift = <2>; 366 reg-io-width = <4>; 366 reg-io-width = <4>; 367 interrupts = <GIC_SPI 367 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 368 clocks = <&axi81_clk>; 368 clocks = <&axi81_clk>; 369 clock-frequency = <100 369 clock-frequency = <100000000>; 370 status = "disabled"; 370 status = "disabled"; 371 }; 371 }; 372 372 373 uart2: serial@18022000 { 373 uart2: serial@18022000 { 374 compatible = "snps,dw- 374 compatible = "snps,dw-apb-uart"; 375 reg = <0x18022000 0x10 375 reg = <0x18022000 0x100>; 376 reg-shift = <2>; 376 reg-shift = <2>; 377 reg-io-width = <4>; 377 reg-io-width = <4>; 378 interrupts = <GIC_SPI 378 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 379 clocks = <&axi81_clk>; 379 clocks = <&axi81_clk>; 380 clock-frequency = <100 380 clock-frequency = <100000000>; 381 status = "disabled"; 381 status = "disabled"; 382 }; 382 }; 383 383 384 uart3: serial@18023000 { 384 uart3: serial@18023000 { 385 compatible = "snps,dw- 385 compatible = "snps,dw-apb-uart"; 386 reg = <0x18023000 0x10 386 reg = <0x18023000 0x100>; 387 reg-shift = <2>; 387 reg-shift = <2>; 388 reg-io-width = <4>; 388 reg-io-width = <4>; 389 interrupts = <GIC_SPI 389 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 390 clocks = <&axi81_clk>; 390 clocks = <&axi81_clk>; 391 clock-frequency = <100 391 clock-frequency = <100000000>; 392 status = "disabled"; 392 status = "disabled"; 393 }; 393 }; 394 394 395 spi0: spi@18028000 { 395 spi0: spi@18028000 { 396 compatible = "arm,pl02 396 compatible = "arm,pl022", "arm,primecell"; 397 reg = <0x18028000 0x10 397 reg = <0x18028000 0x1000>; 398 #address-cells = <1>; 398 #address-cells = <1>; 399 #size-cells = <0>; 399 #size-cells = <0>; 400 interrupts = <GIC_SPI 400 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 401 pinctrl-0 = <&spi_0>; 401 pinctrl-0 = <&spi_0>; 402 clocks = <&axi81_clk>, 402 clocks = <&axi81_clk>, <&axi81_clk>; 403 clock-names = "sspclk" 403 clock-names = "sspclk", "apb_pclk"; 404 status = "disabled"; 404 status = "disabled"; 405 }; 405 }; 406 406 407 spi1: spi@18029000 { 407 spi1: spi@18029000 { 408 compatible = "arm,pl02 408 compatible = "arm,pl022", "arm,primecell"; 409 reg = <0x18029000 0x10 409 reg = <0x18029000 0x1000>; 410 #address-cells = <1>; 410 #address-cells = <1>; 411 #size-cells = <0>; 411 #size-cells = <0>; 412 interrupts = <GIC_SPI 412 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 413 pinctrl-0 = <&spi_1>; 413 pinctrl-0 = <&spi_1>; 414 clocks = <&axi81_clk>, 414 clocks = <&axi81_clk>, <&axi81_clk>; 415 clock-names = "sspclk" 415 clock-names = "sspclk", "apb_pclk"; 416 status = "disabled"; 416 status = "disabled"; 417 }; 417 }; 418 418 419 spi2: spi@1802a000 { 419 spi2: spi@1802a000 { 420 compatible = "arm,pl02 420 compatible = "arm,pl022", "arm,primecell"; 421 reg = <0x1802a000 0x10 421 reg = <0x1802a000 0x1000>; 422 #address-cells = <1>; 422 #address-cells = <1>; 423 #size-cells = <0>; 423 #size-cells = <0>; 424 interrupts = <GIC_SPI 424 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; 425 pinctrl-0 = <&spi_2>; 425 pinctrl-0 = <&spi_2>; 426 clocks = <&axi81_clk>, 426 clocks = <&axi81_clk>, <&axi81_clk>; 427 clock-names = "sspclk" 427 clock-names = "sspclk", "apb_pclk"; 428 status = "disabled"; 428 status = "disabled"; 429 }; 429 }; 430 430 431 rng: rng@18032000 { 431 rng: rng@18032000 { 432 compatible = "brcm,ipr 432 compatible = "brcm,iproc-rng200"; 433 reg = <0x18032000 0x28 433 reg = <0x18032000 0x28>; 434 }; 434 }; 435 435 436 sdhci0: sdhci@18041000 { 436 sdhci0: sdhci@18041000 { 437 compatible = "brcm,sdh 437 compatible = "brcm,sdhci-iproc-cygnus"; 438 reg = <0x18041000 0x10 438 reg = <0x18041000 0x100>; 439 interrupts = <GIC_SPI 439 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 440 clocks = <&lcpll0 BCM_ 440 clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>; 441 bus-width = <4>; 441 bus-width = <4>; 442 sdhci,auto-cmd12; 442 sdhci,auto-cmd12; 443 status = "disabled"; 443 status = "disabled"; 444 }; 444 }; 445 445 446 eth0: ethernet@18042000 { 446 eth0: ethernet@18042000 { 447 compatible = "brcm,ama 447 compatible = "brcm,amac"; 448 reg = <0x18042000 0x10 448 reg = <0x18042000 0x1000>, 449 <0x18110000 0x10 449 <0x18110000 0x1000>; 450 reg-names = "amac_base 450 reg-names = "amac_base", "idm_base"; 451 interrupts = <GIC_SPI 451 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 452 status = "disabled"; 452 status = "disabled"; 453 }; 453 }; 454 454 455 sdhci1: sdhci@18043000 { 455 sdhci1: sdhci@18043000 { 456 compatible = "brcm,sdh 456 compatible = "brcm,sdhci-iproc-cygnus"; 457 reg = <0x18043000 0x10 457 reg = <0x18043000 0x100>; 458 interrupts = <GIC_SPI 458 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 459 clocks = <&lcpll0 BCM_ 459 clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>; 460 bus-width = <4>; 460 bus-width = <4>; 461 sdhci,auto-cmd12; 461 sdhci,auto-cmd12; 462 status = "disabled"; 462 status = "disabled"; 463 }; 463 }; 464 464 465 nand_controller: nand-controll 465 nand_controller: nand-controller@18046000 { 466 compatible = "brcm,nan 466 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; 467 reg = <0x18046000 0x60 467 reg = <0x18046000 0x600>, <0xf8105408 0x600>, 468 <0x18046f00 0x20 468 <0x18046f00 0x20>; 469 reg-names = "nand", "i 469 reg-names = "nand", "iproc-idm", "iproc-ext"; 470 interrupts = <GIC_SPI 470 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 471 471 472 #address-cells = <1>; 472 #address-cells = <1>; 473 #size-cells = <0>; 473 #size-cells = <0>; 474 474 475 brcm,nand-has-wp; 475 brcm,nand-has-wp; 476 }; 476 }; 477 477 478 ehci0: usb@18048000 { 478 ehci0: usb@18048000 { 479 compatible = "generic- 479 compatible = "generic-ehci"; 480 reg = <0x18048000 0x10 480 reg = <0x18048000 0x100>; 481 interrupts = <GIC_SPI 481 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 482 status = "disabled"; 482 status = "disabled"; 483 }; 483 }; 484 484 485 ohci0: usb@18048800 { 485 ohci0: usb@18048800 { 486 compatible = "generic- 486 compatible = "generic-ohci"; 487 reg = <0x18048800 0x10 487 reg = <0x18048800 0x100>; 488 interrupts = <GIC_SPI 488 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 489 status = "disabled"; 489 status = "disabled"; 490 }; 490 }; 491 491 492 clcd: clcd@180a0000 { 492 clcd: clcd@180a0000 { 493 compatible = "arm,pl11 493 compatible = "arm,pl111", "arm,primecell"; 494 reg = <0x180a0000 0x10 494 reg = <0x180a0000 0x1000>; 495 interrupts = <GIC_SPI 495 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 496 interrupt-names = "com 496 interrupt-names = "combined"; 497 clocks = <&axi41_clk>, 497 clocks = <&axi41_clk>, <&apb_clk>; 498 clock-names = "clcdclk 498 clock-names = "clcdclk", "apb_pclk"; 499 status = "disabled"; 499 status = "disabled"; 500 }; 500 }; 501 501 502 v3d: v3d@180a2000 { 502 v3d: v3d@180a2000 { 503 compatible = "brcm,cyg 503 compatible = "brcm,cygnus-v3d"; 504 reg = <0x180a2000 0x10 504 reg = <0x180a2000 0x1000>; 505 clocks = <&mipipll BCM 505 clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>; 506 clock-names = "v3d_clk 506 clock-names = "v3d_clk"; 507 interrupts = <GIC_SPI 507 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>; 508 status = "disabled"; 508 status = "disabled"; 509 }; 509 }; 510 510 511 vc4: gpu { 511 vc4: gpu { 512 compatible = "brcm,cyg 512 compatible = "brcm,cygnus-vc4"; 513 }; 513 }; 514 514 515 gpio_asiu: gpio@180a5000 { 515 gpio_asiu: gpio@180a5000 { 516 compatible = "brcm,cyg 516 compatible = "brcm,cygnus-asiu-gpio"; 517 reg = <0x180a5000 0x66 517 reg = <0x180a5000 0x668>; 518 ngpios = <146>; 518 ngpios = <146>; 519 #gpio-cells = <2>; 519 #gpio-cells = <2>; 520 gpio-controller; 520 gpio-controller; 521 521 522 interrupt-controller; 522 interrupt-controller; 523 #interrupt-cells = <2> 523 #interrupt-cells = <2>; 524 interrupts = <GIC_SPI 524 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; 525 gpio-ranges = <&pinctr 525 gpio-ranges = <&pinctrl 0 42 1>, 526 <&pinc 526 <&pinctrl 1 44 3>, 527 <&pinc 527 <&pinctrl 4 48 1>, 528 <&pinc 528 <&pinctrl 5 50 3>, 529 <&pinc 529 <&pinctrl 8 126 1>, 530 <&pinc 530 <&pinctrl 9 155 1>, 531 <&pinc 531 <&pinctrl 10 152 1>, 532 <&pinc 532 <&pinctrl 11 154 1>, 533 <&pinc 533 <&pinctrl 12 153 1>, 534 <&pinc 534 <&pinctrl 13 127 3>, 535 <&pinc 535 <&pinctrl 16 140 1>, 536 <&pinc 536 <&pinctrl 17 145 7>, 537 <&pinc 537 <&pinctrl 24 130 10>, 538 <&pinc 538 <&pinctrl 34 141 4>, 539 <&pinc 539 <&pinctrl 38 54 1>, 540 <&pinc 540 <&pinctrl 39 56 3>, 541 <&pinc 541 <&pinctrl 42 60 3>, 542 <&pinc 542 <&pinctrl 45 64 3>, 543 <&pinc 543 <&pinctrl 48 68 2>, 544 <&pinc 544 <&pinctrl 50 84 6>, 545 <&pinc 545 <&pinctrl 56 94 6>, 546 <&pinc 546 <&pinctrl 62 72 1>, 547 <&pinc 547 <&pinctrl 63 70 1>, 548 <&pinc 548 <&pinctrl 64 80 1>, 549 <&pinc 549 <&pinctrl 65 74 3>, 550 <&pinc 550 <&pinctrl 68 78 1>, 551 <&pinc 551 <&pinctrl 69 82 1>, 552 <&pinc 552 <&pinctrl 70 156 17>, 553 <&pinc 553 <&pinctrl 87 104 12>, 554 <&pinc 554 <&pinctrl 99 102 2>, 555 <&pinc 555 <&pinctrl 101 90 4>, 556 <&pinc 556 <&pinctrl 105 116 6>, 557 <&pinc 557 <&pinctrl 111 100 2>, 558 <&pinc 558 <&pinctrl 113 122 4>, 559 <&pinc 559 <&pinctrl 123 11 1>, 560 <&pinc 560 <&pinctrl 124 38 4>, 561 <&pinc 561 <&pinctrl 128 43 1>, 562 <&pinc 562 <&pinctrl 129 47 1>, 563 <&pinc 563 <&pinctrl 130 49 1>, 564 <&pinc 564 <&pinctrl 131 53 1>, 565 <&pinc 565 <&pinctrl 132 55 1>, 566 <&pinc 566 <&pinctrl 133 59 1>, 567 <&pinc 567 <&pinctrl 134 63 1>, 568 <&pinc 568 <&pinctrl 135 67 1>, 569 <&pinc 569 <&pinctrl 136 71 1>, 570 <&pinc 570 <&pinctrl 137 73 1>, 571 <&pinc 571 <&pinctrl 138 77 1>, 572 <&pinc 572 <&pinctrl 139 79 1>, 573 <&pinc 573 <&pinctrl 140 81 1>, 574 <&pinc 574 <&pinctrl 141 83 1>, 575 <&pinc 575 <&pinctrl 142 10 1>; 576 }; 576 }; 577 577 578 ts_adc_syscon: ts_adc_syscon@1 578 ts_adc_syscon: ts_adc_syscon@180a6000 { 579 compatible = "brcm,ipr 579 compatible = "brcm,iproc-ts-adc-syscon", "syscon"; 580 reg = <0x180a6000 0xc3 580 reg = <0x180a6000 0xc30>; 581 }; 581 }; 582 582 583 touchscreen: touchscreen@180a6 583 touchscreen: touchscreen@180a6000 { 584 compatible = "brcm,ipr 584 compatible = "brcm,iproc-touchscreen"; 585 #address-cells = <1>; 585 #address-cells = <1>; 586 #size-cells = <1>; 586 #size-cells = <1>; 587 ts_syscon = <&ts_adc_s 587 ts_syscon = <&ts_adc_syscon>; 588 clocks = <&asiu_clks B 588 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>; 589 clock-names = "tsc_clk 589 clock-names = "tsc_clk"; 590 interrupts = <GIC_SPI 590 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 591 status = "disabled"; 591 status = "disabled"; 592 }; 592 }; 593 593 594 adc: adc@180a6000 { 594 adc: adc@180a6000 { 595 compatible = "brcm,ipr 595 compatible = "brcm,iproc-static-adc"; 596 #io-channel-cells = <1 596 #io-channel-cells = <1>; 597 adc-syscon = <&ts_adc_ 597 adc-syscon = <&ts_adc_syscon>; 598 clocks = <&asiu_clks B 598 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>; 599 clock-names = "tsc_clk 599 clock-names = "tsc_clk"; 600 interrupts = <GIC_SPI 600 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 601 status = "disabled"; 601 status = "disabled"; 602 }; 602 }; 603 603 604 pwm: pwm@180aa500 { 604 pwm: pwm@180aa500 { 605 compatible = "brcm,kon 605 compatible = "brcm,kona-pwm"; 606 reg = <0x180aa500 0xc4 606 reg = <0x180aa500 0xc4>; 607 #pwm-cells = <3>; 607 #pwm-cells = <3>; 608 clocks = <&asiu_clks B 608 clocks = <&asiu_clks BCM_CYGNUS_ASIU_PWM_CLK>; 609 status = "disabled"; 609 status = "disabled"; 610 }; 610 }; 611 611 612 keypad: keypad@180ac000 { 612 keypad: keypad@180ac000 { 613 compatible = "brcm,bcm 613 compatible = "brcm,bcm-keypad"; 614 reg = <0x180ac000 0x14 614 reg = <0x180ac000 0x14c>; 615 interrupts = <GIC_SPI 615 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; 616 clocks = <&asiu_clks B 616 clocks = <&asiu_clks BCM_CYGNUS_ASIU_KEYPAD_CLK>; 617 clock-names = "peri_cl 617 clock-names = "peri_clk"; 618 clock-frequency = <312 618 clock-frequency = <31250>; 619 pull-up-enabled; 619 pull-up-enabled; 620 col-debounce-filter-pe 620 col-debounce-filter-period = <0>; 621 status-debounce-filter 621 status-debounce-filter-period = <0>; 622 row-output-enabled; 622 row-output-enabled; 623 status = "disabled"; 623 status = "disabled"; 624 }; 624 }; 625 }; 625 }; 626 }; 626 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.