Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Broadcom BCM470X / BCM5301X ARM platform code. |
| 3 | * Generic DTS part for all BCM53010, BCM53011, BCM53012, BCM53014, BCM53015, |
| 4 | * BCM53016, BCM53017, BCM53018, BCM4707, BCM4708 and BCM4709 SoCs |
| 5 | * |
| 6 | * Copyright 2013-2014 Hauke Mehrtens <hauke@hauke-m.de> |
| 7 | * |
| 8 | * Licensed under the GNU/GPL. See COPYING for details. |
| 9 | */ |
| 10 | |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 11 | #include <dt-bindings/clock/bcm-nsp.h> |
Rafał Miłecki | fb026d3 | 2014-10-01 15:45:28 +0200 | [diff] [blame] | 12 | #include <dt-bindings/gpio/gpio.h> |
Rafał Miłecki | f6f8234 | 2014-11-30 18:28:29 +0100 | [diff] [blame] | 13 | #include <dt-bindings/input/input.h> |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
| 15 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 16 | |
| 17 | / { |
Rob Herring | abe60a3 | 2019-01-09 10:26:14 -0600 | [diff] [blame] | 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 20 | interrupt-parent = <&gic>; |
| 21 | |
| 22 | chipcommonA { |
| 23 | compatible = "simple-bus"; |
| 24 | ranges = <0x00000000 0x18000000 0x00001000>; |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <1>; |
| 27 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 28 | uart0: serial@300 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 29 | compatible = "ns16550"; |
| 30 | reg = <0x0300 0x100>; |
| 31 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 32 | clocks = <&iprocslow>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 33 | status = "disabled"; |
| 34 | }; |
| 35 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 36 | uart1: serial@400 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 37 | compatible = "ns16550"; |
| 38 | reg = <0x0400 0x100>; |
| 39 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 40 | clocks = <&iprocslow>; |
Rafał Miłecki | 9994241 | 2018-11-09 09:56:49 +0100 | [diff] [blame] | 41 | pinctrl-names = "default"; |
| 42 | pinctrl-0 = <&pinmux_uart1>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 43 | status = "disabled"; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | mpcore { |
| 48 | compatible = "simple-bus"; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 49 | ranges = <0x00000000 0x19000000 0x00023000>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
| 52 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 53 | a9pll: arm_clk@0 { |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 54 | #clock-cells = <0>; |
| 55 | compatible = "brcm,nsp-armpll"; |
| 56 | clocks = <&osc>; |
| 57 | reg = <0x00000 0x1000>; |
| 58 | }; |
| 59 | |
| 60 | scu@20000 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 61 | compatible = "arm,cortex-a9-scu"; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 62 | reg = <0x20000 0x100>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 63 | }; |
| 64 | |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 65 | timer@20200 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 66 | compatible = "arm,cortex-a9-global-timer"; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 67 | reg = <0x20200 0x100>; |
Jon Mason | 0e34079 | 2017-03-02 19:21:32 -0500 | [diff] [blame] | 68 | interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 69 | clocks = <&periph_clk>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 70 | }; |
| 71 | |
Jon Mason | f22c635 | 2017-03-06 11:24:44 -0500 | [diff] [blame] | 72 | timer@20600 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 73 | compatible = "arm,cortex-a9-twd-timer"; |
Jon Mason | f22c635 | 2017-03-06 11:24:44 -0500 | [diff] [blame] | 74 | reg = <0x20600 0x20>; |
| 75 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | |
| 76 | IRQ_TYPE_EDGE_RISING)>; |
| 77 | clocks = <&periph_clk>; |
| 78 | }; |
| 79 | |
| 80 | watchdog@20620 { |
| 81 | compatible = "arm,cortex-a9-twd-wdt"; |
| 82 | reg = <0x20620 0x20>; |
| 83 | interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | |
| 84 | IRQ_TYPE_EDGE_RISING)>; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 85 | clocks = <&periph_clk>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 86 | }; |
| 87 | |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 88 | gic: interrupt-controller@21000 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 89 | compatible = "arm,cortex-a9-gic"; |
| 90 | #interrupt-cells = <3>; |
| 91 | #address-cells = <0>; |
| 92 | interrupt-controller; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 93 | reg = <0x21000 0x1000>, |
| 94 | <0x20100 0x100>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 95 | }; |
| 96 | |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 97 | L2: cache-controller@22000 { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 98 | compatible = "arm,pl310-cache"; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 99 | reg = <0x22000 0x1000>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 100 | cache-unified; |
Hauke Mehrtens | db44f13 | 2015-07-29 23:50:59 +0200 | [diff] [blame] | 101 | arm,shared-override; |
| 102 | prefetch-data = <1>; |
| 103 | prefetch-instr = <1>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 104 | cache-level = <2>; |
| 105 | }; |
| 106 | }; |
| 107 | |
Felix Fietkau | 1ff8036 | 2015-07-29 23:51:00 +0200 | [diff] [blame] | 108 | pmu { |
| 109 | compatible = "arm,cortex-a9-pmu"; |
| 110 | interrupts = |
| 111 | <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
| 112 | <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 113 | }; |
| 114 | |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 115 | clocks { |
| 116 | #address-cells = <1>; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 117 | #size-cells = <1>; |
| 118 | ranges; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 119 | |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 120 | osc: oscillator { |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 121 | #clock-cells = <0>; |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 122 | compatible = "fixed-clock"; |
| 123 | clock-frequency = <25000000>; |
| 124 | }; |
| 125 | |
| 126 | iprocmed: iprocmed { |
| 127 | #clock-cells = <0>; |
| 128 | compatible = "fixed-factor-clock"; |
| 129 | clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>; |
| 130 | clock-div = <2>; |
| 131 | clock-mult = <1>; |
| 132 | }; |
| 133 | |
| 134 | iprocslow: iprocslow { |
| 135 | #clock-cells = <0>; |
| 136 | compatible = "fixed-factor-clock"; |
| 137 | clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>; |
| 138 | clock-div = <4>; |
| 139 | clock-mult = <1>; |
| 140 | }; |
| 141 | |
| 142 | periph_clk: periph_clk { |
| 143 | #clock-cells = <0>; |
| 144 | compatible = "fixed-factor-clock"; |
| 145 | clocks = <&a9pll>; |
| 146 | clock-div = <2>; |
| 147 | clock-mult = <1>; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 148 | }; |
| 149 | }; |
Rafał Miłecki | fb026d3 | 2014-10-01 15:45:28 +0200 | [diff] [blame] | 150 | |
Rafał Miłecki | 2709d39 | 2016-06-01 22:07:07 +0200 | [diff] [blame] | 151 | usb2_phy: usb2-phy { |
| 152 | compatible = "brcm,ns-usb2-phy"; |
| 153 | reg = <0x1800c000 0x1000>; |
| 154 | reg-names = "dmu"; |
| 155 | #phy-cells = <0>; |
| 156 | clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; |
| 157 | clock-names = "phy-ref-clk"; |
| 158 | }; |
| 159 | |
Rafał Miłecki | fb026d3 | 2014-10-01 15:45:28 +0200 | [diff] [blame] | 160 | axi@18000000 { |
| 161 | compatible = "brcm,bus-axi"; |
| 162 | reg = <0x18000000 0x1000>; |
| 163 | ranges = <0x00000000 0x18000000 0x00100000>; |
| 164 | #address-cells = <1>; |
| 165 | #size-cells = <1>; |
| 166 | |
Hauke Mehrtens | dec3788 | 2014-09-24 23:50:07 +0200 | [diff] [blame] | 167 | #interrupt-cells = <1>; |
| 168 | interrupt-map-mask = <0x000fffff 0xffff>; |
| 169 | interrupt-map = |
| 170 | /* ChipCommon */ |
| 171 | <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, |
| 172 | |
Florian Fainelli | 2cd0c02 | 2016-05-24 11:41:58 -0700 | [diff] [blame] | 173 | /* Switch Register Access Block */ |
| 174 | <0x00007000 0 &gic GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, |
| 175 | <0x00007000 1 &gic GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, |
| 176 | <0x00007000 2 &gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, |
| 177 | <0x00007000 3 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, |
| 178 | <0x00007000 4 &gic GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, |
| 179 | <0x00007000 5 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
| 180 | <0x00007000 6 &gic GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
| 181 | <0x00007000 7 &gic GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, |
| 182 | <0x00007000 8 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, |
| 183 | <0x00007000 9 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, |
| 184 | <0x00007000 10 &gic GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, |
| 185 | <0x00007000 11 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, |
| 186 | <0x00007000 12 &gic GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 187 | |
Hauke Mehrtens | 1f80de6 | 2015-05-24 21:08:14 +0200 | [diff] [blame] | 188 | /* PCIe Controller 0 */ |
| 189 | <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, |
| 190 | <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, |
| 191 | <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, |
| 192 | <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, |
| 193 | <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, |
| 194 | <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, |
| 195 | |
| 196 | /* PCIe Controller 1 */ |
| 197 | <0x00013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, |
| 198 | <0x00013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, |
| 199 | <0x00013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, |
| 200 | <0x00013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, |
| 201 | <0x00013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, |
| 202 | <0x00013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 203 | |
| 204 | /* PCIe Controller 2 */ |
| 205 | <0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 206 | <0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 207 | <0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, |
| 208 | <0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, |
| 209 | <0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, |
| 210 | <0x00014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, |
| 211 | |
Hauke Mehrtens | dec3788 | 2014-09-24 23:50:07 +0200 | [diff] [blame] | 212 | /* USB 2.0 Controller */ |
| 213 | <0x00021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>, |
| 214 | |
| 215 | /* USB 3.0 Controller */ |
| 216 | <0x00023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, |
| 217 | |
| 218 | /* Ethernet Controller 0 */ |
| 219 | <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, |
| 220 | |
| 221 | /* Ethernet Controller 1 */ |
| 222 | <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, |
| 223 | |
| 224 | /* Ethernet Controller 2 */ |
| 225 | <0x00026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, |
| 226 | |
| 227 | /* Ethernet Controller 3 */ |
| 228 | <0x00027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, |
| 229 | |
| 230 | /* NAND Controller */ |
| 231 | <0x00028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, |
| 232 | <0x00028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, |
| 233 | <0x00028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, |
| 234 | <0x00028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, |
| 235 | <0x00028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 236 | <0x00028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 237 | <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, |
| 238 | <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 239 | |
Rafał Miłecki | fb026d3 | 2014-10-01 15:45:28 +0200 | [diff] [blame] | 240 | chipcommon: chipcommon@0 { |
| 241 | reg = <0x00000000 0x1000>; |
| 242 | |
| 243 | gpio-controller; |
| 244 | #gpio-cells = <2>; |
| 245 | }; |
Rafał Miłecki | dd70ccf | 2016-03-23 16:52:47 +0100 | [diff] [blame] | 246 | |
Rafał Miłecki | 5d1f2d2 | 2017-01-14 00:58:57 +0100 | [diff] [blame] | 247 | pcie0: pcie@12000 { |
| 248 | reg = <0x00012000 0x1000>; |
| 249 | }; |
| 250 | |
| 251 | pcie1: pcie@13000 { |
| 252 | reg = <0x00013000 0x1000>; |
| 253 | }; |
| 254 | |
Rafał Miłecki | dd70ccf | 2016-03-23 16:52:47 +0100 | [diff] [blame] | 255 | usb2: usb2@21000 { |
| 256 | reg = <0x00021000 0x1000>; |
| 257 | |
| 258 | #address-cells = <1>; |
| 259 | #size-cells = <1>; |
Rafał Miłecki | 0725c84 | 2016-12-07 08:56:52 +0100 | [diff] [blame] | 260 | ranges; |
Rafał Miłecki | 2709d39 | 2016-06-01 22:07:07 +0200 | [diff] [blame] | 261 | |
Rafał Miłecki | 0725c84 | 2016-12-07 08:56:52 +0100 | [diff] [blame] | 262 | interrupt-parent = <&gic>; |
| 263 | |
| 264 | ehci: ehci@21000 { |
| 265 | #usb-cells = <0>; |
| 266 | |
| 267 | compatible = "generic-ehci"; |
| 268 | reg = <0x00021000 0x1000>; |
| 269 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 270 | phys = <&usb2_phy>; |
Rafał Miłecki | 69d22c7 | 2017-06-27 19:35:27 +0200 | [diff] [blame] | 271 | |
| 272 | #address-cells = <1>; |
| 273 | #size-cells = <0>; |
| 274 | |
| 275 | ehci_port1: port@1 { |
| 276 | reg = <1>; |
| 277 | #trigger-source-cells = <0>; |
| 278 | }; |
| 279 | |
| 280 | ehci_port2: port@2 { |
| 281 | reg = <2>; |
| 282 | #trigger-source-cells = <0>; |
| 283 | }; |
Rafał Miłecki | 0725c84 | 2016-12-07 08:56:52 +0100 | [diff] [blame] | 284 | }; |
| 285 | |
| 286 | ohci: ohci@22000 { |
| 287 | #usb-cells = <0>; |
| 288 | |
| 289 | compatible = "generic-ohci"; |
| 290 | reg = <0x00022000 0x1000>; |
| 291 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
Rafał Miłecki | 69d22c7 | 2017-06-27 19:35:27 +0200 | [diff] [blame] | 292 | |
| 293 | #address-cells = <1>; |
| 294 | #size-cells = <0>; |
| 295 | |
| 296 | ohci_port1: port@1 { |
| 297 | reg = <1>; |
| 298 | #trigger-source-cells = <0>; |
| 299 | }; |
| 300 | |
| 301 | ohci_port2: port@2 { |
| 302 | reg = <2>; |
| 303 | #trigger-source-cells = <0>; |
| 304 | }; |
Rafał Miłecki | 0725c84 | 2016-12-07 08:56:52 +0100 | [diff] [blame] | 305 | }; |
Rafał Miłecki | dd70ccf | 2016-03-23 16:52:47 +0100 | [diff] [blame] | 306 | }; |
| 307 | |
| 308 | usb3: usb3@23000 { |
| 309 | reg = <0x00023000 0x1000>; |
| 310 | |
| 311 | #address-cells = <1>; |
| 312 | #size-cells = <1>; |
Rafał Miłecki | 0725c84 | 2016-12-07 08:56:52 +0100 | [diff] [blame] | 313 | ranges; |
| 314 | |
| 315 | interrupt-parent = <&gic>; |
| 316 | |
| 317 | xhci: xhci@23000 { |
| 318 | #usb-cells = <0>; |
| 319 | |
| 320 | compatible = "generic-xhci"; |
| 321 | reg = <0x00023000 0x1000>; |
| 322 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 323 | phys = <&usb3_phy>; |
| 324 | phy-names = "usb"; |
Rafał Miłecki | 69d22c7 | 2017-06-27 19:35:27 +0200 | [diff] [blame] | 325 | |
| 326 | #address-cells = <1>; |
| 327 | #size-cells = <0>; |
| 328 | |
| 329 | xhci_port1: port@1 { |
| 330 | reg = <1>; |
| 331 | #trigger-source-cells = <0>; |
| 332 | }; |
Rafał Miłecki | 0725c84 | 2016-12-07 08:56:52 +0100 | [diff] [blame] | 333 | }; |
Rafał Miłecki | dd70ccf | 2016-03-23 16:52:47 +0100 | [diff] [blame] | 334 | }; |
Rafał Miłecki | 1b47b98 | 2016-04-19 08:56:46 +0200 | [diff] [blame] | 335 | |
Florian Fainelli | 59f0ce1 | 2016-05-23 16:38:00 -0700 | [diff] [blame] | 336 | gmac0: ethernet@24000 { |
| 337 | reg = <0x24000 0x800>; |
| 338 | }; |
| 339 | |
| 340 | gmac1: ethernet@25000 { |
| 341 | reg = <0x25000 0x800>; |
| 342 | }; |
| 343 | |
| 344 | gmac2: ethernet@26000 { |
| 345 | reg = <0x26000 0x800>; |
| 346 | }; |
| 347 | |
| 348 | gmac3: ethernet@27000 { |
| 349 | reg = <0x27000 0x800>; |
| 350 | }; |
Rafał Miłecki | fb026d3 | 2014-10-01 15:45:28 +0200 | [diff] [blame] | 351 | }; |
Hauke Mehrtens | 9faa596 | 2015-05-29 23:39:47 +0200 | [diff] [blame] | 352 | |
Rafał Miłecki | 23f1eca6 | 2017-04-19 23:54:25 +0200 | [diff] [blame] | 353 | mdio: mdio@18003000 { |
| 354 | compatible = "brcm,iproc-mdio"; |
| 355 | reg = <0x18003000 0x8>; |
| 356 | #size-cells = <1>; |
| 357 | #address-cells = <0>; |
Vivek Unune | 37f6130 | 2018-04-09 18:31:53 -0400 | [diff] [blame] | 358 | }; |
| 359 | |
| 360 | mdio-bus-mux { |
| 361 | compatible = "mdio-mux-mmioreg"; |
| 362 | mdio-parent-bus = <&mdio>; |
| 363 | #address-cells = <1>; |
| 364 | #size-cells = <0>; |
| 365 | reg = <0x18003000 0x4>; |
| 366 | mux-mask = <0x200>; |
| 367 | |
| 368 | mdio@0 { |
| 369 | reg = <0x0>; |
| 370 | #address-cells = <1>; |
| 371 | #size-cells = <0>; |
| 372 | |
| 373 | usb3_phy: usb3-phy@10 { |
| 374 | compatible = "brcm,ns-ax-usb3-phy"; |
| 375 | reg = <0x10>; |
| 376 | usb3-dmp-syscon = <&usb3_dmp>; |
| 377 | #phy-cells = <0>; |
| 378 | status = "disabled"; |
| 379 | }; |
| 380 | }; |
| 381 | }; |
| 382 | |
| 383 | usb3_dmp: syscon@18105000 { |
| 384 | reg = <0x18105000 0x1000>; |
Rafał Miłecki | 23f1eca6 | 2017-04-19 23:54:25 +0200 | [diff] [blame] | 385 | }; |
| 386 | |
Jon Mason | bb097e3 | 2017-03-06 11:24:45 -0500 | [diff] [blame] | 387 | i2c0: i2c@18009000 { |
| 388 | compatible = "brcm,iproc-i2c"; |
| 389 | reg = <0x18009000 0x50>; |
Florian Fainelli | a0a8338e | 2018-06-11 15:53:40 -0700 | [diff] [blame] | 390 | interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; |
Jon Mason | bb097e3 | 2017-03-06 11:24:45 -0500 | [diff] [blame] | 391 | #address-cells = <1>; |
| 392 | #size-cells = <0>; |
| 393 | clock-frequency = <100000>; |
| 394 | status = "disabled"; |
| 395 | }; |
| 396 | |
Rafał Miłecki | 9994241 | 2018-11-09 09:56:49 +0100 | [diff] [blame] | 397 | dmu@1800c000 { |
| 398 | compatible = "simple-bus"; |
| 399 | ranges = <0 0x1800c000 0x1000>; |
| 400 | #address-cells = <1>; |
| 401 | #size-cells = <1>; |
| 402 | |
| 403 | cru@100 { |
| 404 | compatible = "simple-bus"; |
| 405 | reg = <0x100 0x1a4>; |
| 406 | ranges; |
| 407 | #address-cells = <1>; |
| 408 | #size-cells = <1>; |
| 409 | |
| 410 | pin-controller@1c0 { |
| 411 | compatible = "brcm,bcm4708-pinmux"; |
| 412 | reg = <0x1c0 0x24>; |
| 413 | reg-names = "cru_gpio_control"; |
| 414 | |
| 415 | spi-pins { |
| 416 | groups = "spi_grp"; |
| 417 | function = "spi"; |
| 418 | }; |
| 419 | |
| 420 | i2c { |
| 421 | groups = "i2c_grp"; |
| 422 | function = "i2c"; |
| 423 | }; |
| 424 | |
| 425 | pwm { |
| 426 | groups = "pwm0_grp", "pwm1_grp", |
| 427 | "pwm2_grp", "pwm3_grp"; |
| 428 | function = "pwm"; |
| 429 | }; |
| 430 | |
| 431 | pinmux_uart1: uart1 { |
| 432 | groups = "uart1_grp"; |
| 433 | function = "uart1"; |
| 434 | }; |
| 435 | }; |
| 436 | }; |
| 437 | }; |
| 438 | |
Jon Mason | cdc36b2 | 2015-11-20 10:17:18 -0500 | [diff] [blame] | 439 | lcpll0: lcpll0@1800c100 { |
| 440 | #clock-cells = <1>; |
| 441 | compatible = "brcm,nsp-lcpll0"; |
| 442 | reg = <0x1800c100 0x14>; |
| 443 | clocks = <&osc>; |
| 444 | clock-output-names = "lcpll0", "pcie_phy", "sdio", |
| 445 | "ddr_phy"; |
| 446 | }; |
| 447 | |
| 448 | genpll: genpll@1800c140 { |
| 449 | #clock-cells = <1>; |
| 450 | compatible = "brcm,nsp-genpll"; |
| 451 | reg = <0x1800c140 0x24>; |
| 452 | clocks = <&osc>; |
| 453 | clock-output-names = "genpll", "phy", "ethernetclk", |
| 454 | "usbclk", "iprocfast", "sata1", |
| 455 | "sata2"; |
| 456 | }; |
| 457 | |
Rafał Miłecki | 36c2cb1 | 2017-04-14 23:42:28 +0200 | [diff] [blame] | 458 | thermal: thermal@1800c2c0 { |
| 459 | compatible = "brcm,ns-thermal"; |
| 460 | reg = <0x1800c2c0 0x10>; |
| 461 | #thermal-sensor-cells = <0>; |
| 462 | }; |
| 463 | |
Florian Fainelli | 59f0ce1 | 2016-05-23 16:38:00 -0700 | [diff] [blame] | 464 | srab: srab@18007000 { |
| 465 | compatible = "brcm,bcm5301x-srab"; |
| 466 | reg = <0x18007000 0x1000>; |
| 467 | #address-cells = <1>; |
| 468 | #size-cells = <0>; |
| 469 | |
| 470 | status = "disabled"; |
| 471 | |
| 472 | /* ports are defined in board DTS */ |
| 473 | }; |
| 474 | |
Florian Fainelli | 36e5566 | 2016-06-22 17:27:03 -0700 | [diff] [blame] | 475 | rng: rng@18004000 { |
| 476 | compatible = "brcm,bcm5301x-rng"; |
| 477 | reg = <0x18004000 0x14>; |
| 478 | }; |
| 479 | |
Hauke Mehrtens | 9faa596 | 2015-05-29 23:39:47 +0200 | [diff] [blame] | 480 | nand: nand@18028000 { |
| 481 | compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand"; |
| 482 | reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>; |
| 483 | reg-names = "nand", "iproc-idm", "iproc-ext"; |
| 484 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; |
| 485 | |
| 486 | #address-cells = <1>; |
| 487 | #size-cells = <0>; |
| 488 | |
| 489 | brcm,nand-has-wp; |
| 490 | }; |
Jon Mason | 1c8f406 | 2017-02-08 15:45:16 -0500 | [diff] [blame] | 491 | |
| 492 | spi@18029200 { |
| 493 | compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi"; |
| 494 | reg = <0x18029200 0x184>, |
| 495 | <0x18029000 0x124>, |
| 496 | <0x1811b408 0x004>, |
| 497 | <0x180293a0 0x01c>; |
| 498 | reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg"; |
| 499 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 500 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, |
| 501 | <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, |
| 502 | <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, |
| 503 | <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, |
| 504 | <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, |
| 505 | <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
| 506 | interrupt-names = "spi_lr_fullness_reached", |
| 507 | "spi_lr_session_aborted", |
| 508 | "spi_lr_impatient", |
| 509 | "spi_lr_session_done", |
| 510 | "spi_lr_overhead", |
| 511 | "mspi_done", |
| 512 | "mspi_halted"; |
| 513 | clocks = <&iprocmed>; |
| 514 | clock-names = "iprocmed"; |
| 515 | num-cs = <2>; |
| 516 | #address-cells = <1>; |
| 517 | #size-cells = <0>; |
| 518 | |
| 519 | spi_nor: spi-nor@0 { |
| 520 | compatible = "jedec,spi-nor"; |
| 521 | reg = <0>; |
| 522 | spi-max-frequency = <20000000>; |
Jon Mason | 1c8f406 | 2017-02-08 15:45:16 -0500 | [diff] [blame] | 523 | status = "disabled"; |
Rafał Miłecki | b0465fd | 2018-07-28 14:13:57 +0200 | [diff] [blame] | 524 | |
| 525 | partitions { |
| 526 | compatible = "brcm,bcm947xx-cfe-partitions"; |
| 527 | }; |
Jon Mason | 1c8f406 | 2017-02-08 15:45:16 -0500 | [diff] [blame] | 528 | }; |
| 529 | }; |
Rafał Miłecki | 36c2cb1 | 2017-04-14 23:42:28 +0200 | [diff] [blame] | 530 | |
| 531 | thermal-zones { |
| 532 | cpu_thermal: cpu-thermal { |
| 533 | polling-delay-passive = <0>; |
| 534 | polling-delay = <1000>; |
| 535 | coefficients = <(-556) 418000>; |
| 536 | thermal-sensors = <&thermal>; |
| 537 | |
| 538 | trips { |
| 539 | cpu-crit { |
| 540 | temperature = <125000>; |
| 541 | hysteresis = <0>; |
| 542 | type = "critical"; |
| 543 | }; |
| 544 | }; |
| 545 | |
| 546 | cooling-maps { |
| 547 | }; |
| 548 | }; |
| 549 | }; |
Hauke Mehrtens | d27509f | 2014-02-04 00:01:45 +0100 | [diff] [blame] | 550 | }; |