1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright 2018 Luxul Inc. 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 8724ba675SRob Herring#include "bcm47094.dtsi" 9724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi" 10724ba675SRob Herring 11724ba675SRob Herring/ { 12724ba675SRob Herring compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708"; 13724ba675SRob Herring model = "Luxul XWR-3150 V1"; 14724ba675SRob Herring 15724ba675SRob Herring chosen { 16724ba675SRob Herring bootargs = "earlycon"; 17724ba675SRob Herring }; 18724ba675SRob Herring 19724ba675SRob Herring memory@0 { 20724ba675SRob Herring device_type = "memory"; 21724ba675SRob Herring reg = <0x00000000 0x08000000>, 22724ba675SRob Herring <0x88000000 0x18000000>; 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring nvram@1eff0000 { 26724ba675SRob Herring compatible = "brcm,nvram"; 27724ba675SRob Herring reg = <0x1eff0000 0x10000>; 28724ba675SRob Herring 29724ba675SRob Herring et0macaddr: et0macaddr { 30724ba675SRob Herring #nvmem-cell-cells = <1>; 31724ba675SRob Herring }; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring leds { 35724ba675SRob Herring compatible = "gpio-leds"; 36724ba675SRob Herring 37724ba675SRob Herring led-power { 38724ba675SRob Herring label = "bcm53xx:green:power"; 39724ba675SRob Herring gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 40724ba675SRob Herring linux,default-trigger = "default-on"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring led-usb3 { 44724ba675SRob Herring label = "bcm53xx:green:usb3"; 45724ba675SRob Herring gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 46724ba675SRob Herring trigger-sources = <&ohci_port1>, <&ehci_port1>, 47724ba675SRob Herring <&xhci_port1>; 48724ba675SRob Herring linux,default-trigger = "usbport"; 49724ba675SRob Herring }; 50724ba675SRob Herring 51724ba675SRob Herring led-status { 52724ba675SRob Herring label = "bcm53xx:green:status"; 53724ba675SRob Herring gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 54724ba675SRob Herring linux,default-trigger = "timer"; 55724ba675SRob Herring }; 56724ba675SRob Herring 57724ba675SRob Herring led-2ghz { 58724ba675SRob Herring label = "bcm53xx:green:2ghz"; 59724ba675SRob Herring gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring led-5ghz { 63724ba675SRob Herring label = "bcm53xx:green:5ghz"; 64724ba675SRob Herring gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 65724ba675SRob Herring }; 66724ba675SRob Herring }; 67724ba675SRob Herring 68724ba675SRob Herring gpio-keys { 69724ba675SRob Herring compatible = "gpio-keys"; 70724ba675SRob Herring 71724ba675SRob Herring button-restart { 72724ba675SRob Herring label = "Reset"; 73724ba675SRob Herring linux,code = <KEY_RESTART>; 74724ba675SRob Herring gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 75724ba675SRob Herring }; 76724ba675SRob Herring }; 77724ba675SRob Herring}; 78724ba675SRob Herring 79724ba675SRob Herring&gmac0 { 80724ba675SRob Herring nvmem-cells = <&et0macaddr 0>; 81724ba675SRob Herring nvmem-cell-names = "mac-address"; 82724ba675SRob Herring}; 83724ba675SRob Herring 848960f095SDan Haab&pcie0 { 858960f095SDan Haab #address-cells = <3>; 868960f095SDan Haab #size-cells = <2>; 878960f095SDan Haab 888960f095SDan Haab bridge@0,0 { 898960f095SDan Haab reg = <0x0000 0 0 0 0>; 908960f095SDan Haab 918960f095SDan Haab #address-cells = <3>; 928960f095SDan Haab #size-cells = <2>; 938960f095SDan Haab 948960f095SDan Haab wifi@0,0 { 958960f095SDan Haab compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; 968960f095SDan Haab reg = <0x0000 0 0 0 0>; 978960f095SDan Haab brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930"; 988960f095SDan Haab }; 998960f095SDan Haab }; 1008960f095SDan Haab}; 1018960f095SDan Haab 1028960f095SDan Haab&pcie1 { 1038960f095SDan Haab #address-cells = <3>; 1048960f095SDan Haab #size-cells = <2>; 1058960f095SDan Haab 1068960f095SDan Haab bridge@0,0 { 1078960f095SDan Haab reg = <0x0000 0 0 0 0>; 1088960f095SDan Haab 1098960f095SDan Haab #address-cells = <3>; 1108960f095SDan Haab #size-cells = <2>; 1118960f095SDan Haab 1128960f095SDan Haab wifi@0,0 { 1138960f095SDan Haab compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; 1148960f095SDan Haab reg = <0x0000 0 0 0 0>; 1158960f095SDan Haab brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930"; 1168960f095SDan Haab }; 1178960f095SDan Haab }; 1188960f095SDan Haab}; 1198960f095SDan Haab 120724ba675SRob Herring&usb3 { 121724ba675SRob Herring vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 122724ba675SRob Herring}; 123724ba675SRob Herring 124724ba675SRob Herring&usb3_phy { 125724ba675SRob Herring status = "okay"; 126724ba675SRob Herring}; 127724ba675SRob Herring 128724ba675SRob Herring&spi_nor { 129724ba675SRob Herring status = "okay"; 130724ba675SRob Herring}; 131724ba675SRob Herring 132724ba675SRob Herring&srab { 133724ba675SRob Herring status = "okay"; 134724ba675SRob Herring 135724ba675SRob Herring ports { 136724ba675SRob Herring port@0 { 137724ba675SRob Herring label = "lan4"; 138724ba675SRob Herring }; 139724ba675SRob Herring 140724ba675SRob Herring port@1 { 141724ba675SRob Herring label = "lan3"; 142724ba675SRob Herring }; 143724ba675SRob Herring 144724ba675SRob Herring port@2 { 145724ba675SRob Herring label = "lan2"; 146724ba675SRob Herring }; 147724ba675SRob Herring 148724ba675SRob Herring port@3 { 149724ba675SRob Herring label = "lan1"; 150724ba675SRob Herring }; 151724ba675SRob Herring 152724ba675SRob Herring port@4 { 153724ba675SRob Herring label = "wan"; 154724ba675SRob Herring nvmem-cells = <&et0macaddr 5>; 155724ba675SRob Herring nvmem-cell-names = "mac-address"; 156724ba675SRob Herring }; 157724ba675SRob Herring 158724ba675SRob Herring port@5 { 159724ba675SRob Herring label = "cpu"; 160724ba675SRob Herring }; 161*473baeabSRafał Miłecki 162*473baeabSRafał Miłecki port@7 { 163*473baeabSRafał Miłecki status = "disabled"; 164*473baeabSRafał Miłecki }; 165*473baeabSRafał Miłecki 166*473baeabSRafał Miłecki port@8 { 167*473baeabSRafał Miłecki status = "disabled"; 168*473baeabSRafał Miłecki }; 169724ba675SRob Herring }; 170724ba675SRob Herring}; 171