1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // 2 // 3 // Device Tree file for LX2160A BLUEBOX3 3 // Device Tree file for LX2160A BLUEBOX3 4 // 4 // 5 // Copyright 2020-2021 NXP 5 // Copyright 2020-2021 NXP 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "fsl-lx2160a.dtsi" 9 #include "fsl-lx2160a.dtsi" 10 10 11 / { 11 / { 12 model = "NXP Layerscape LX2160ABLUEBOX 12 model = "NXP Layerscape LX2160ABLUEBOX3"; 13 compatible = "fsl,lx2160a-bluebox3", " 13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; 14 14 15 aliases { 15 aliases { 16 crypto = &crypto; 16 crypto = &crypto; 17 mmc0 = &esdhc0; 17 mmc0 = &esdhc0; 18 mmc1 = &esdhc1; 18 mmc1 = &esdhc1; 19 serial0 = &uart0; 19 serial0 = &uart0; 20 }; 20 }; 21 21 22 chosen { 22 chosen { 23 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 24 }; 24 }; 25 25 26 sb_3v3: regulator-sb3v3 { 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed" 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3V 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <330 29 regulator-min-microvolt = <3300000>; 30 regulator-max-microvolt = <330 30 regulator-max-microvolt = <3300000>; 31 regulator-boot-on; 31 regulator-boot-on; 32 regulator-always-on; 32 regulator-always-on; 33 }; 33 }; 34 }; 34 }; 35 35 36 &can0 { 36 &can0 { 37 status = "okay"; 37 status = "okay"; 38 38 39 can-transceiver { 39 can-transceiver { 40 max-bitrate = <5000000>; 40 max-bitrate = <5000000>; 41 }; 41 }; 42 }; 42 }; 43 43 44 &can1 { 44 &can1 { 45 status = "okay"; 45 status = "okay"; 46 46 47 can-transceiver { 47 can-transceiver { 48 max-bitrate = <5000000>; 48 max-bitrate = <5000000>; 49 }; 49 }; 50 }; 50 }; 51 51 52 &crypto { 52 &crypto { 53 status = "okay"; 53 status = "okay"; 54 }; 54 }; 55 55 56 &dpmac5 { 56 &dpmac5 { 57 phy-handle = <&aqr113c_phy1>; 57 phy-handle = <&aqr113c_phy1>; 58 phy-mode = "usxgmii"; 58 phy-mode = "usxgmii"; 59 managed = "in-band-status"; 59 managed = "in-band-status"; 60 }; 60 }; 61 61 62 &dpmac6 { 62 &dpmac6 { 63 phy-handle = <&aqr113c_phy2>; 63 phy-handle = <&aqr113c_phy2>; 64 phy-mode = "usxgmii"; 64 phy-mode = "usxgmii"; 65 managed = "in-band-status"; 65 managed = "in-band-status"; 66 }; 66 }; 67 67 68 &dpmac9 { 68 &dpmac9 { 69 phy-handle = <&aqr113c_phy3>; 69 phy-handle = <&aqr113c_phy3>; 70 phy-mode = "usxgmii"; 70 phy-mode = "usxgmii"; 71 managed = "in-band-status"; 71 managed = "in-band-status"; 72 }; 72 }; 73 73 74 &dpmac10 { 74 &dpmac10 { 75 phy-handle = <&aqr113c_phy4>; 75 phy-handle = <&aqr113c_phy4>; 76 phy-mode = "usxgmii"; 76 phy-mode = "usxgmii"; 77 managed = "in-band-status"; 77 managed = "in-band-status"; 78 }; 78 }; 79 79 80 &dpmac17 { 80 &dpmac17 { 81 phy-mode = "rgmii"; 81 phy-mode = "rgmii"; 82 status = "okay"; 82 status = "okay"; 83 83 84 fixed-link { 84 fixed-link { 85 speed = <1000>; 85 speed = <1000>; 86 full-duplex; 86 full-duplex; 87 }; 87 }; 88 }; 88 }; 89 89 90 &dpmac18 { 90 &dpmac18 { 91 phy-mode = "rgmii"; 91 phy-mode = "rgmii"; 92 status = "okay"; 92 status = "okay"; 93 93 94 fixed-link { 94 fixed-link { 95 speed = <1000>; 95 speed = <1000>; 96 full-duplex; 96 full-duplex; 97 }; 97 }; 98 }; 98 }; 99 99 100 &emdio1 { 100 &emdio1 { 101 status = "okay"; 101 status = "okay"; 102 102 103 aqr113c_phy2: ethernet-phy@0 { 103 aqr113c_phy2: ethernet-phy@0 { 104 compatible = "ethernet-phy-iee 104 compatible = "ethernet-phy-ieee802.3-c45"; 105 reg = <0x0>; 105 reg = <0x0>; 106 /* IRQ_10G_PHY2 */ 106 /* IRQ_10G_PHY2 */ 107 interrupts-extended = <&extirq 107 interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>; 108 }; 108 }; 109 109 110 aqr113c_phy1: ethernet-phy@8 { 110 aqr113c_phy1: ethernet-phy@8 { 111 compatible = "ethernet-phy-iee 111 compatible = "ethernet-phy-ieee802.3-c45"; 112 reg = <0x8>; 112 reg = <0x8>; 113 /* IRQ_10G_PHY1 */ 113 /* IRQ_10G_PHY1 */ 114 interrupts-extended = <&extirq 114 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>; 115 }; 115 }; 116 116 117 sw1_mii3_phy: ethernet-phy@5 { 117 sw1_mii3_phy: ethernet-phy@5 { 118 /* AR8035 */ 118 /* AR8035 */ 119 compatible = "ethernet-phy-id0 119 compatible = "ethernet-phy-id004d.d072"; 120 reg = <0x5>; 120 reg = <0x5>; 121 interrupts-extended = <&extirq 121 interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>; 122 }; 122 }; 123 123 124 sw2_mii3_phy: ethernet-phy@6 { 124 sw2_mii3_phy: ethernet-phy@6 { 125 /* AR8035 */ 125 /* AR8035 */ 126 compatible = "ethernet-phy-id0 126 compatible = "ethernet-phy-id004d.d072"; 127 reg = <0x6>; 127 reg = <0x6>; 128 interrupts-extended = <&extirq 128 interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>; 129 }; 129 }; 130 }; 130 }; 131 131 132 &emdio2 { 132 &emdio2 { 133 status = "okay"; 133 status = "okay"; 134 134 135 aqr113c_phy4: ethernet-phy@0 { 135 aqr113c_phy4: ethernet-phy@0 { 136 compatible = "ethernet-phy-iee 136 compatible = "ethernet-phy-ieee802.3-c45"; 137 reg = <0x0>; 137 reg = <0x0>; 138 /* IRQ_10G_PHY4 */ 138 /* IRQ_10G_PHY4 */ 139 interrupts-extended = <&extirq 139 interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>; 140 }; 140 }; 141 141 142 aqr113c_phy3: ethernet-phy@8 { 142 aqr113c_phy3: ethernet-phy@8 { 143 compatible = "ethernet-phy-iee 143 compatible = "ethernet-phy-ieee802.3-c45"; 144 reg = <0x8>; 144 reg = <0x8>; 145 /* IRQ_10G_PHY3 */ 145 /* IRQ_10G_PHY3 */ 146 interrupts-extended = <&extirq 146 interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>; 147 }; 147 }; 148 }; 148 }; 149 149 150 &esdhc0 { 150 &esdhc0 { 151 sd-uhs-sdr104; 151 sd-uhs-sdr104; 152 sd-uhs-sdr50; 152 sd-uhs-sdr50; 153 sd-uhs-sdr25; 153 sd-uhs-sdr25; 154 sd-uhs-sdr12; 154 sd-uhs-sdr12; 155 status = "okay"; 155 status = "okay"; 156 }; 156 }; 157 157 158 &esdhc1 { 158 &esdhc1 { 159 mmc-hs200-1_8v; 159 mmc-hs200-1_8v; 160 mmc-hs400-1_8v; 160 mmc-hs400-1_8v; 161 bus-width = <8>; 161 bus-width = <8>; 162 status = "okay"; 162 status = "okay"; 163 }; 163 }; 164 164 165 &fspi { 165 &fspi { 166 status = "okay"; 166 status = "okay"; 167 167 168 mt35xu512aba0: flash@0 { 168 mt35xu512aba0: flash@0 { 169 compatible = "jedec,spi-nor"; 169 compatible = "jedec,spi-nor"; 170 #address-cells = <1>; 170 #address-cells = <1>; 171 #size-cells = <1>; 171 #size-cells = <1>; 172 reg = <0>; 172 reg = <0>; 173 m25p,fast-read; 173 m25p,fast-read; 174 spi-max-frequency = <50000000> 174 spi-max-frequency = <50000000>; 175 spi-rx-bus-width = <8>; 175 spi-rx-bus-width = <8>; 176 spi-tx-bus-width = <8>; 176 spi-tx-bus-width = <8>; 177 }; 177 }; 178 178 179 mt35xu512aba1: flash@1 { 179 mt35xu512aba1: flash@1 { 180 compatible = "jedec,spi-nor"; 180 compatible = "jedec,spi-nor"; 181 #address-cells = <1>; 181 #address-cells = <1>; 182 #size-cells = <1>; 182 #size-cells = <1>; 183 reg = <1>; 183 reg = <1>; 184 m25p,fast-read; 184 m25p,fast-read; 185 spi-max-frequency = <50000000> 185 spi-max-frequency = <50000000>; 186 spi-rx-bus-width = <8>; 186 spi-rx-bus-width = <8>; 187 spi-tx-bus-width = <8>; 187 spi-tx-bus-width = <8>; 188 }; 188 }; 189 }; 189 }; 190 190 191 &i2c0 { 191 &i2c0 { 192 status = "okay"; 192 status = "okay"; 193 193 194 i2c-mux@77 { 194 i2c-mux@77 { 195 compatible = "nxp,pca9547"; 195 compatible = "nxp,pca9547"; 196 reg = <0x77>; 196 reg = <0x77>; 197 #address-cells = <1>; 197 #address-cells = <1>; 198 #size-cells = <0>; 198 #size-cells = <0>; 199 199 200 i2c@2 { 200 i2c@2 { 201 #address-cells = <1>; 201 #address-cells = <1>; 202 #size-cells = <0>; 202 #size-cells = <0>; 203 reg = <0x2>; 203 reg = <0x2>; 204 204 205 power-monitor@40 { 205 power-monitor@40 { 206 compatible = " 206 compatible = "ti,ina220"; 207 reg = <0x40>; 207 reg = <0x40>; 208 shunt-resistor 208 shunt-resistor = <500>; 209 }; 209 }; 210 }; 210 }; 211 211 212 i2c@3 { 212 i2c@3 { 213 #address-cells = <1>; 213 #address-cells = <1>; 214 #size-cells = <0>; 214 #size-cells = <0>; 215 reg = <0x3>; 215 reg = <0x3>; 216 216 217 temp2: temperature-sen 217 temp2: temperature-sensor@48 { 218 compatible = " 218 compatible = "nxp,sa56004"; 219 reg = <0x48>; 219 reg = <0x48>; 220 vcc-supply = < 220 vcc-supply = <&sb_3v3>; 221 #thermal-senso 221 #thermal-sensor-cells = <1>; 222 }; 222 }; 223 223 224 temp1: temperature-sen 224 temp1: temperature-sensor@4c { 225 compatible = " 225 compatible = "nxp,sa56004"; 226 reg = <0x4c>; 226 reg = <0x4c>; 227 vcc-supply = < 227 vcc-supply = <&sb_3v3>; 228 #thermal-senso 228 #thermal-sensor-cells = <1>; 229 }; 229 }; 230 }; 230 }; 231 231 232 i2c@4 { 232 i2c@4 { 233 #address-cells = <1>; 233 #address-cells = <1>; 234 #size-cells = <0>; 234 #size-cells = <0>; 235 reg = <0x4>; 235 reg = <0x4>; 236 236 237 rtc@51 { 237 rtc@51 { 238 compatible = " 238 compatible = "nxp,pcf2129"; 239 reg = <0x51>; 239 reg = <0x51>; 240 interrupts-ext 240 interrupts-extended = <&extirq 11 IRQ_TYPE_LEVEL_LOW>; 241 }; 241 }; 242 }; 242 }; 243 243 244 i2c@7 { 244 i2c@7 { 245 #address-cells = <1>; 245 #address-cells = <1>; 246 #size-cells = <0>; 246 #size-cells = <0>; 247 reg = <0x7>; 247 reg = <0x7>; 248 248 249 i2c-mux@75 { 249 i2c-mux@75 { 250 compatible = " 250 compatible = "nxp,pca9547"; 251 reg = <0x75>; 251 reg = <0x75>; 252 #address-cells 252 #address-cells = <1>; 253 #size-cells = 253 #size-cells = <0>; 254 254 255 i2c@0 { 255 i2c@0 { 256 #addre 256 #address-cells = <1>; 257 #size- 257 #size-cells = <0>; 258 reg = 258 reg = <0x0>; 259 259 260 spi_br 260 spi_bridge: spi@28 { 261 261 compatible = "nxp,sc18is602b"; 262 262 reg = <0x28>; 263 263 #address-cells = <1>; 264 264 #size-cells = <0>; 265 }; 265 }; 266 }; 266 }; 267 }; 267 }; 268 }; 268 }; 269 }; 269 }; 270 }; 270 }; 271 271 272 &i2c5 { 272 &i2c5 { 273 status = "okay"; 273 status = "okay"; 274 274 275 i2c-mux@77 { 275 i2c-mux@77 { 276 compatible = "nxp,pca9846"; 276 compatible = "nxp,pca9846"; 277 reg = <0x77>; 277 reg = <0x77>; 278 #address-cells = <1>; 278 #address-cells = <1>; 279 #size-cells = <0>; 279 #size-cells = <0>; 280 280 281 i2c@1 { 281 i2c@1 { 282 #address-cells = <1>; 282 #address-cells = <1>; 283 #size-cells = <0>; 283 #size-cells = <0>; 284 reg = <0x1>; 284 reg = <0x1>; 285 285 286 /* The I2C multiplexer 286 /* The I2C multiplexer and temperature sensors are on 287 * the T6 riser card. 287 * the T6 riser card. 288 */ 288 */ 289 i2c-mux@70 { 289 i2c-mux@70 { 290 compatible = " 290 compatible = "nxp,pca9548"; 291 reg = <0x70>; 291 reg = <0x70>; 292 #address-cells 292 #address-cells = <1>; 293 #size-cells = 293 #size-cells = <0>; 294 294 295 i2c@6 { 295 i2c@6 { 296 #addre 296 #address-cells = <1>; 297 #size- 297 #size-cells = <0>; 298 reg = 298 reg = <0x6>; 299 299 300 q12: t 300 q12: temperature-sensor@4c { 301 301 compatible = "nxp,sa56004"; 302 302 reg = <0x4c>; 303 303 vcc-supply = <&sb_3v3>; 304 304 #thermal-sensor-cells = <1>; 305 }; 305 }; 306 }; 306 }; 307 307 308 i2c@7 { 308 i2c@7 { 309 #addre 309 #address-cells = <1>; 310 #size- 310 #size-cells = <0>; 311 reg = 311 reg = <0x7>; 312 312 313 q11: t 313 q11: temperature-sensor@4c { 314 314 compatible = "nxp,sa56004"; 315 315 reg = <0x4c>; 316 316 vcc-supply = <&sb_3v3>; 317 317 #thermal-sensor-cells = <1>; 318 }; 318 }; 319 319 320 q13: t 320 q13: temperature-sensor@48 { 321 321 compatible = "nxp,sa56004"; 322 322 reg = <0x48>; 323 323 vcc-supply = <&sb_3v3>; 324 324 #thermal-sensor-cells = <1>; 325 }; 325 }; 326 326 327 q14: t 327 q14: temperature-sensor@4a { 328 328 compatible = "nxp,sa56004"; 329 329 reg = <0x4a>; 330 330 vcc-supply = <&sb_3v3>; 331 331 #thermal-sensor-cells = <1>; 332 }; 332 }; 333 }; 333 }; 334 }; 334 }; 335 }; 335 }; 336 }; 336 }; 337 }; 337 }; 338 338 339 &pcs_mdio5 { 339 &pcs_mdio5 { 340 status = "okay"; 340 status = "okay"; 341 }; 341 }; 342 342 343 &pcs_mdio6 { 343 &pcs_mdio6 { 344 status = "okay"; 344 status = "okay"; 345 }; 345 }; 346 346 347 &pcs_mdio9 { 347 &pcs_mdio9 { 348 status = "okay"; 348 status = "okay"; 349 }; 349 }; 350 350 351 &pcs_mdio10 { 351 &pcs_mdio10 { 352 status = "okay"; 352 status = "okay"; 353 }; 353 }; 354 354 355 &spi_bridge { 355 &spi_bridge { 356 sw1: ethernet-switch@0 { 356 sw1: ethernet-switch@0 { 357 compatible = "nxp,sja1110a"; 357 compatible = "nxp,sja1110a"; 358 reg = <0>; 358 reg = <0>; 359 spi-max-frequency = <4000000>; 359 spi-max-frequency = <4000000>; 360 spi-cpol; 360 spi-cpol; 361 dsa,member = <0 0>; 361 dsa,member = <0 0>; 362 362 363 ethernet-ports { 363 ethernet-ports { 364 #address-cells = <1>; 364 #address-cells = <1>; 365 #size-cells = <0>; 365 #size-cells = <0>; 366 366 367 /* Microcontroller por 367 /* Microcontroller port */ 368 port@0 { 368 port@0 { 369 reg = <0>; 369 reg = <0>; 370 status = "disa 370 status = "disabled"; 371 }; 371 }; 372 372 373 /* SW1_P1 */ 373 /* SW1_P1 */ 374 port@1 { 374 port@1 { 375 reg = <1>; 375 reg = <1>; 376 label = "con_2 376 label = "con_2x20"; 377 phy-mode = "sg 377 phy-mode = "sgmii"; 378 378 379 fixed-link { 379 fixed-link { 380 speed 380 speed = <1000>; 381 full-d 381 full-duplex; 382 }; 382 }; 383 }; 383 }; 384 384 385 port@2 { 385 port@2 { 386 reg = <2>; 386 reg = <2>; 387 ethernet = <&d 387 ethernet = <&dpmac17>; 388 phy-mode = "rg 388 phy-mode = "rgmii-id"; 389 rx-internal-de 389 rx-internal-delay-ps = <2000>; 390 tx-internal-de 390 tx-internal-delay-ps = <2000>; 391 391 392 fixed-link { 392 fixed-link { 393 speed 393 speed = <1000>; 394 full-d 394 full-duplex; 395 }; 395 }; 396 }; 396 }; 397 397 398 port@3 { 398 port@3 { 399 reg = <3>; 399 reg = <3>; 400 label = "1ge_p 400 label = "1ge_p1"; 401 phy-mode = "rg 401 phy-mode = "rgmii-id"; 402 phy-handle = < 402 phy-handle = <&sw1_mii3_phy>; 403 }; 403 }; 404 404 405 sw1p4: port@4 { 405 sw1p4: port@4 { 406 reg = <4>; 406 reg = <4>; 407 link = <&sw2p1 407 link = <&sw2p1>; 408 phy-mode = "sg 408 phy-mode = "sgmii"; 409 409 410 fixed-link { 410 fixed-link { 411 speed 411 speed = <1000>; 412 full-d 412 full-duplex; 413 }; 413 }; 414 }; 414 }; 415 415 416 port@5 { 416 port@5 { 417 reg = <5>; 417 reg = <5>; 418 label = "trx1" 418 label = "trx1"; 419 phy-mode = "in 419 phy-mode = "internal"; 420 phy-handle = < 420 phy-handle = <&sw1_port5_base_t1_phy>; 421 }; 421 }; 422 422 423 port@6 { 423 port@6 { 424 reg = <6>; 424 reg = <6>; 425 label = "trx2" 425 label = "trx2"; 426 phy-mode = "in 426 phy-mode = "internal"; 427 phy-handle = < 427 phy-handle = <&sw1_port6_base_t1_phy>; 428 }; 428 }; 429 429 430 port@7 { 430 port@7 { 431 reg = <7>; 431 reg = <7>; 432 label = "trx3" 432 label = "trx3"; 433 phy-mode = "in 433 phy-mode = "internal"; 434 phy-handle = < 434 phy-handle = <&sw1_port7_base_t1_phy>; 435 }; 435 }; 436 436 437 port@8 { 437 port@8 { 438 reg = <8>; 438 reg = <8>; 439 label = "trx4" 439 label = "trx4"; 440 phy-mode = "in 440 phy-mode = "internal"; 441 phy-handle = < 441 phy-handle = <&sw1_port8_base_t1_phy>; 442 }; 442 }; 443 443 444 port@9 { 444 port@9 { 445 reg = <9>; 445 reg = <9>; 446 label = "trx5" 446 label = "trx5"; 447 phy-mode = "in 447 phy-mode = "internal"; 448 phy-handle = < 448 phy-handle = <&sw1_port9_base_t1_phy>; 449 }; 449 }; 450 450 451 port@a { 451 port@a { 452 reg = <10>; 452 reg = <10>; 453 label = "trx6" 453 label = "trx6"; 454 phy-mode = "in 454 phy-mode = "internal"; 455 phy-handle = < 455 phy-handle = <&sw1_port10_base_t1_phy>; 456 }; 456 }; 457 }; 457 }; 458 458 459 mdios { 459 mdios { 460 #address-cells = <1>; 460 #address-cells = <1>; 461 #size-cells = <0>; 461 #size-cells = <0>; 462 462 463 mdio@0 { 463 mdio@0 { 464 compatible = " 464 compatible = "nxp,sja1110-base-t1-mdio"; 465 #address-cells 465 #address-cells = <1>; 466 #size-cells = 466 #size-cells = <0>; 467 reg = <0>; 467 reg = <0>; 468 468 469 sw1_port5_base 469 sw1_port5_base_t1_phy: ethernet-phy@1 { 470 compat 470 compatible = "ethernet-phy-ieee802.3-c45"; 471 reg = 471 reg = <0x1>; 472 }; 472 }; 473 473 474 sw1_port6_base 474 sw1_port6_base_t1_phy: ethernet-phy@2 { 475 compat 475 compatible = "ethernet-phy-ieee802.3-c45"; 476 reg = 476 reg = <0x2>; 477 }; 477 }; 478 478 479 sw1_port7_base 479 sw1_port7_base_t1_phy: ethernet-phy@3 { 480 compat 480 compatible = "ethernet-phy-ieee802.3-c45"; 481 reg = 481 reg = <0x3>; 482 }; 482 }; 483 483 484 sw1_port8_base 484 sw1_port8_base_t1_phy: ethernet-phy@4 { 485 compat 485 compatible = "ethernet-phy-ieee802.3-c45"; 486 reg = 486 reg = <0x4>; 487 }; 487 }; 488 488 489 sw1_port9_base 489 sw1_port9_base_t1_phy: ethernet-phy@5 { 490 compat 490 compatible = "ethernet-phy-ieee802.3-c45"; 491 reg = 491 reg = <0x5>; 492 }; 492 }; 493 493 494 sw1_port10_bas 494 sw1_port10_base_t1_phy: ethernet-phy@6 { 495 compat 495 compatible = "ethernet-phy-ieee802.3-c45"; 496 reg = 496 reg = <0x6>; 497 }; 497 }; 498 }; 498 }; 499 }; 499 }; 500 }; 500 }; 501 501 502 sw2: ethernet-switch@2 { 502 sw2: ethernet-switch@2 { 503 compatible = "nxp,sja1110a"; 503 compatible = "nxp,sja1110a"; 504 reg = <2>; 504 reg = <2>; 505 spi-max-frequency = <4000000>; 505 spi-max-frequency = <4000000>; 506 spi-cpol; 506 spi-cpol; 507 dsa,member = <0 1>; 507 dsa,member = <0 1>; 508 508 509 ethernet-ports { 509 ethernet-ports { 510 #address-cells = <1>; 510 #address-cells = <1>; 511 #size-cells = <0>; 511 #size-cells = <0>; 512 512 513 /* Microcontroller por 513 /* Microcontroller port */ 514 port@0 { 514 port@0 { 515 reg = <0>; 515 reg = <0>; 516 status = "disa 516 status = "disabled"; 517 }; 517 }; 518 518 519 sw2p1: port@1 { 519 sw2p1: port@1 { 520 reg = <1>; 520 reg = <1>; 521 link = <&sw1p4 521 link = <&sw1p4>; 522 phy-mode = "sg 522 phy-mode = "sgmii"; 523 523 524 fixed-link { 524 fixed-link { 525 speed 525 speed = <1000>; 526 full-d 526 full-duplex; 527 }; 527 }; 528 }; 528 }; 529 529 530 port@2 { 530 port@2 { 531 reg = <2>; 531 reg = <2>; 532 ethernet = <&d 532 ethernet = <&dpmac18>; 533 phy-mode = "rg 533 phy-mode = "rgmii-id"; 534 rx-internal-de 534 rx-internal-delay-ps = <2000>; 535 tx-internal-de 535 tx-internal-delay-ps = <2000>; 536 536 537 fixed-link { 537 fixed-link { 538 speed 538 speed = <1000>; 539 full-d 539 full-duplex; 540 }; 540 }; 541 }; 541 }; 542 542 543 port@3 { 543 port@3 { 544 reg = <3>; 544 reg = <3>; 545 label = "1ge_p 545 label = "1ge_p2"; 546 phy-mode = "rg 546 phy-mode = "rgmii-id"; 547 phy-handle = < 547 phy-handle = <&sw2_mii3_phy>; 548 }; 548 }; 549 549 550 port@4 { 550 port@4 { 551 reg = <4>; 551 reg = <4>; 552 label = "to_sw 552 label = "to_sw3"; 553 phy-mode = "25 553 phy-mode = "2500base-x"; 554 554 555 fixed-link { 555 fixed-link { 556 speed 556 speed = <2500>; 557 full-d 557 full-duplex; 558 }; 558 }; 559 }; 559 }; 560 560 561 port@5 { 561 port@5 { 562 reg = <5>; 562 reg = <5>; 563 label = "trx7" 563 label = "trx7"; 564 phy-mode = "in 564 phy-mode = "internal"; 565 phy-handle = < 565 phy-handle = <&sw2_port5_base_t1_phy>; 566 }; 566 }; 567 567 568 port@6 { 568 port@6 { 569 reg = <6>; 569 reg = <6>; 570 label = "trx8" 570 label = "trx8"; 571 phy-mode = "in 571 phy-mode = "internal"; 572 phy-handle = < 572 phy-handle = <&sw2_port6_base_t1_phy>; 573 }; 573 }; 574 574 575 port@7 { 575 port@7 { 576 reg = <7>; 576 reg = <7>; 577 label = "trx9" 577 label = "trx9"; 578 phy-mode = "in 578 phy-mode = "internal"; 579 phy-handle = < 579 phy-handle = <&sw2_port7_base_t1_phy>; 580 }; 580 }; 581 581 582 port@8 { 582 port@8 { 583 reg = <8>; 583 reg = <8>; 584 label = "trx10 584 label = "trx10"; 585 phy-mode = "in 585 phy-mode = "internal"; 586 phy-handle = < 586 phy-handle = <&sw2_port8_base_t1_phy>; 587 }; 587 }; 588 588 589 port@9 { 589 port@9 { 590 reg = <9>; 590 reg = <9>; 591 label = "trx11 591 label = "trx11"; 592 phy-mode = "in 592 phy-mode = "internal"; 593 phy-handle = < 593 phy-handle = <&sw2_port9_base_t1_phy>; 594 }; 594 }; 595 595 596 port@a { 596 port@a { 597 reg = <10>; 597 reg = <10>; 598 label = "trx12 598 label = "trx12"; 599 phy-mode = "in 599 phy-mode = "internal"; 600 phy-handle = < 600 phy-handle = <&sw2_port10_base_t1_phy>; 601 }; 601 }; 602 }; 602 }; 603 603 604 mdios { 604 mdios { 605 #address-cells = <1>; 605 #address-cells = <1>; 606 #size-cells = <0>; 606 #size-cells = <0>; 607 607 608 mdio@0 { 608 mdio@0 { 609 compatible = " 609 compatible = "nxp,sja1110-base-t1-mdio"; 610 #address-cells 610 #address-cells = <1>; 611 #size-cells = 611 #size-cells = <0>; 612 reg = <0>; 612 reg = <0>; 613 613 614 sw2_port5_base 614 sw2_port5_base_t1_phy: ethernet-phy@1 { 615 compat 615 compatible = "ethernet-phy-ieee802.3-c45"; 616 reg = 616 reg = <0x1>; 617 }; 617 }; 618 618 619 sw2_port6_base 619 sw2_port6_base_t1_phy: ethernet-phy@2 { 620 compat 620 compatible = "ethernet-phy-ieee802.3-c45"; 621 reg = 621 reg = <0x2>; 622 }; 622 }; 623 623 624 sw2_port7_base 624 sw2_port7_base_t1_phy: ethernet-phy@3 { 625 compat 625 compatible = "ethernet-phy-ieee802.3-c45"; 626 reg = 626 reg = <0x3>; 627 }; 627 }; 628 628 629 sw2_port8_base 629 sw2_port8_base_t1_phy: ethernet-phy@4 { 630 compat 630 compatible = "ethernet-phy-ieee802.3-c45"; 631 reg = 631 reg = <0x4>; 632 }; 632 }; 633 633 634 sw2_port9_base 634 sw2_port9_base_t1_phy: ethernet-phy@5 { 635 compat 635 compatible = "ethernet-phy-ieee802.3-c45"; 636 reg = 636 reg = <0x5>; 637 }; 637 }; 638 638 639 sw2_port10_bas 639 sw2_port10_base_t1_phy: ethernet-phy@6 { 640 compat 640 compatible = "ethernet-phy-ieee802.3-c45"; 641 reg = 641 reg = <0x6>; 642 }; 642 }; 643 }; 643 }; 644 }; 644 }; 645 }; 645 }; 646 }; 646 }; 647 647 648 &uart0 { 648 &uart0 { 649 status = "okay"; 649 status = "okay"; 650 }; 650 }; 651 651 652 &uart1 { 652 &uart1 { 653 status = "okay"; 653 status = "okay"; 654 }; 654 }; 655 655 656 &usb0 { 656 &usb0 { 657 status = "okay"; 657 status = "okay"; 658 }; 658 }; 659 659 660 &usb1 { 660 &usb1 { 661 status = "okay"; 661 status = "okay"; 662 }; 662 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.