1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2018 Luxul Inc. 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include "bcm47094.dtsi" 9f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch8.dtsi" 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot/ { 12f126890aSEmmanuel Vadot compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708"; 13f126890aSEmmanuel Vadot model = "Luxul XWR-3150 V1"; 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot chosen { 16f126890aSEmmanuel Vadot bootargs = "earlycon"; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot memory@0 { 20f126890aSEmmanuel Vadot device_type = "memory"; 21f126890aSEmmanuel Vadot reg = <0x00000000 0x08000000>, 22f126890aSEmmanuel Vadot <0x88000000 0x18000000>; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot nvram@1eff0000 { 26f126890aSEmmanuel Vadot compatible = "brcm,nvram"; 27f126890aSEmmanuel Vadot reg = <0x1eff0000 0x10000>; 28f126890aSEmmanuel Vadot 29f126890aSEmmanuel Vadot et0macaddr: et0macaddr { 30f126890aSEmmanuel Vadot #nvmem-cell-cells = <1>; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot }; 33f126890aSEmmanuel Vadot 34f126890aSEmmanuel Vadot leds { 35f126890aSEmmanuel Vadot compatible = "gpio-leds"; 36f126890aSEmmanuel Vadot 37f126890aSEmmanuel Vadot led-power { 38f126890aSEmmanuel Vadot label = "bcm53xx:green:power"; 39f126890aSEmmanuel Vadot gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 40f126890aSEmmanuel Vadot linux,default-trigger = "default-on"; 41f126890aSEmmanuel Vadot }; 42f126890aSEmmanuel Vadot 43f126890aSEmmanuel Vadot led-usb3 { 44f126890aSEmmanuel Vadot label = "bcm53xx:green:usb3"; 45f126890aSEmmanuel Vadot gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 46f126890aSEmmanuel Vadot trigger-sources = <&ohci_port1>, <&ehci_port1>, 47f126890aSEmmanuel Vadot <&xhci_port1>; 48f126890aSEmmanuel Vadot linux,default-trigger = "usbport"; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot 51f126890aSEmmanuel Vadot led-status { 52f126890aSEmmanuel Vadot label = "bcm53xx:green:status"; 53f126890aSEmmanuel Vadot gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 54f126890aSEmmanuel Vadot linux,default-trigger = "timer"; 55f126890aSEmmanuel Vadot }; 56f126890aSEmmanuel Vadot 57f126890aSEmmanuel Vadot led-2ghz { 58f126890aSEmmanuel Vadot label = "bcm53xx:green:2ghz"; 59f126890aSEmmanuel Vadot gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 60f126890aSEmmanuel Vadot }; 61f126890aSEmmanuel Vadot 62f126890aSEmmanuel Vadot led-5ghz { 63f126890aSEmmanuel Vadot label = "bcm53xx:green:5ghz"; 64f126890aSEmmanuel Vadot gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 65f126890aSEmmanuel Vadot }; 66f126890aSEmmanuel Vadot }; 67f126890aSEmmanuel Vadot 68f126890aSEmmanuel Vadot gpio-keys { 69f126890aSEmmanuel Vadot compatible = "gpio-keys"; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot button-restart { 72f126890aSEmmanuel Vadot label = "Reset"; 73f126890aSEmmanuel Vadot linux,code = <KEY_RESTART>; 74f126890aSEmmanuel Vadot gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot }; 77f126890aSEmmanuel Vadot}; 78f126890aSEmmanuel Vadot 79f126890aSEmmanuel Vadot&gmac0 { 80f126890aSEmmanuel Vadot nvmem-cells = <&et0macaddr 0>; 81f126890aSEmmanuel Vadot nvmem-cell-names = "mac-address"; 82f126890aSEmmanuel Vadot}; 83f126890aSEmmanuel Vadot 84aa1a8ff2SEmmanuel Vadot&pcie0 { 85aa1a8ff2SEmmanuel Vadot #address-cells = <3>; 86aa1a8ff2SEmmanuel Vadot #size-cells = <2>; 87aa1a8ff2SEmmanuel Vadot 88aa1a8ff2SEmmanuel Vadot bridge@0,0 { 89aa1a8ff2SEmmanuel Vadot reg = <0x0000 0 0 0 0>; 90aa1a8ff2SEmmanuel Vadot 91aa1a8ff2SEmmanuel Vadot #address-cells = <3>; 92aa1a8ff2SEmmanuel Vadot #size-cells = <2>; 93aa1a8ff2SEmmanuel Vadot 94aa1a8ff2SEmmanuel Vadot wifi@0,0 { 95aa1a8ff2SEmmanuel Vadot compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; 96aa1a8ff2SEmmanuel Vadot reg = <0x0000 0 0 0 0>; 97aa1a8ff2SEmmanuel Vadot brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930"; 98aa1a8ff2SEmmanuel Vadot }; 99aa1a8ff2SEmmanuel Vadot }; 100aa1a8ff2SEmmanuel Vadot}; 101aa1a8ff2SEmmanuel Vadot 102aa1a8ff2SEmmanuel Vadot&pcie1 { 103aa1a8ff2SEmmanuel Vadot #address-cells = <3>; 104aa1a8ff2SEmmanuel Vadot #size-cells = <2>; 105aa1a8ff2SEmmanuel Vadot 106aa1a8ff2SEmmanuel Vadot bridge@0,0 { 107aa1a8ff2SEmmanuel Vadot reg = <0x0000 0 0 0 0>; 108aa1a8ff2SEmmanuel Vadot 109aa1a8ff2SEmmanuel Vadot #address-cells = <3>; 110aa1a8ff2SEmmanuel Vadot #size-cells = <2>; 111aa1a8ff2SEmmanuel Vadot 112aa1a8ff2SEmmanuel Vadot wifi@0,0 { 113aa1a8ff2SEmmanuel Vadot compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; 114aa1a8ff2SEmmanuel Vadot reg = <0x0000 0 0 0 0>; 115aa1a8ff2SEmmanuel Vadot brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930"; 116aa1a8ff2SEmmanuel Vadot }; 117aa1a8ff2SEmmanuel Vadot }; 118aa1a8ff2SEmmanuel Vadot}; 119aa1a8ff2SEmmanuel Vadot 120f126890aSEmmanuel Vadot&usb3 { 121f126890aSEmmanuel Vadot vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 122f126890aSEmmanuel Vadot}; 123f126890aSEmmanuel Vadot 124f126890aSEmmanuel Vadot&usb3_phy { 125f126890aSEmmanuel Vadot status = "okay"; 126f126890aSEmmanuel Vadot}; 127f126890aSEmmanuel Vadot 128f126890aSEmmanuel Vadot&spi_nor { 129f126890aSEmmanuel Vadot status = "okay"; 130f126890aSEmmanuel Vadot}; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot&srab { 133f126890aSEmmanuel Vadot status = "okay"; 134f126890aSEmmanuel Vadot 135f126890aSEmmanuel Vadot ports { 136f126890aSEmmanuel Vadot port@0 { 137f126890aSEmmanuel Vadot label = "lan4"; 138f126890aSEmmanuel Vadot }; 139f126890aSEmmanuel Vadot 140f126890aSEmmanuel Vadot port@1 { 141f126890aSEmmanuel Vadot label = "lan3"; 142f126890aSEmmanuel Vadot }; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot port@2 { 145f126890aSEmmanuel Vadot label = "lan2"; 146f126890aSEmmanuel Vadot }; 147f126890aSEmmanuel Vadot 148f126890aSEmmanuel Vadot port@3 { 149f126890aSEmmanuel Vadot label = "lan1"; 150f126890aSEmmanuel Vadot }; 151f126890aSEmmanuel Vadot 152f126890aSEmmanuel Vadot port@4 { 153f126890aSEmmanuel Vadot label = "wan"; 154f126890aSEmmanuel Vadot nvmem-cells = <&et0macaddr 5>; 155f126890aSEmmanuel Vadot nvmem-cell-names = "mac-address"; 156f126890aSEmmanuel Vadot }; 157f126890aSEmmanuel Vadot 158f126890aSEmmanuel Vadot port@5 { 159f126890aSEmmanuel Vadot label = "cpu"; 160f126890aSEmmanuel Vadot }; 161*84943d6fSEmmanuel Vadot 162*84943d6fSEmmanuel Vadot port@7 { 163*84943d6fSEmmanuel Vadot status = "disabled"; 164*84943d6fSEmmanuel Vadot }; 165*84943d6fSEmmanuel Vadot 166*84943d6fSEmmanuel Vadot port@8 { 167*84943d6fSEmmanuel Vadot status = "disabled"; 168*84943d6fSEmmanuel Vadot }; 169f126890aSEmmanuel Vadot }; 170f126890aSEmmanuel Vadot}; 171