1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (C) 2017 Luxul Inc. 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 8724ba675SRob Herring#include "bcm4708.dtsi" 9724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi" 10724ba675SRob Herring 11724ba675SRob Herring/ { 12724ba675SRob Herring compatible = "luxul,xbr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; 13724ba675SRob Herring model = "Luxul XBR-4500 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-status { 38724ba675SRob Herring label = "bcm53xx:green:status"; 39724ba675SRob Herring gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>; 40724ba675SRob Herring linux,default-trigger = "timer"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring led-usb3 { 44724ba675SRob Herring label = "bcm53xx:green:usb3"; 45724ba675SRob Herring gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>; 46724ba675SRob Herring trigger-sources = <&ohci_port1>, <&ehci_port1>, 47724ba675SRob Herring <&xhci_port1>; 48724ba675SRob Herring linux,default-trigger = "usbport"; 49724ba675SRob Herring }; 50724ba675SRob Herring 51724ba675SRob Herring }; 52724ba675SRob Herring 53724ba675SRob Herring gpio-keys { 54724ba675SRob Herring compatible = "gpio-keys"; 55724ba675SRob Herring 56724ba675SRob Herring button-restart { 57724ba675SRob Herring label = "Reset"; 58724ba675SRob Herring linux,code = <KEY_RESTART>; 59724ba675SRob Herring gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 60724ba675SRob Herring }; 61724ba675SRob Herring }; 62724ba675SRob Herring}; 63724ba675SRob Herring 64724ba675SRob Herring&usb3 { 65724ba675SRob Herring vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 66724ba675SRob Herring}; 67724ba675SRob Herring 68724ba675SRob Herring&gmac0 { 69724ba675SRob Herring nvmem-cells = <&et0macaddr 0>; 70724ba675SRob Herring nvmem-cell-names = "mac-address"; 71724ba675SRob Herring}; 72724ba675SRob Herring 73724ba675SRob Herring&spi_nor { 74724ba675SRob Herring status = "okay"; 75724ba675SRob Herring}; 76724ba675SRob Herring 77724ba675SRob Herring&usb3_phy { 78724ba675SRob Herring status = "okay"; 79724ba675SRob Herring}; 80724ba675SRob Herring 81724ba675SRob Herring&srab { 82724ba675SRob Herring status = "okay"; 83724ba675SRob Herring 84724ba675SRob Herring ports { 85724ba675SRob Herring port@0 { 86724ba675SRob Herring label = "wan"; 87724ba675SRob Herring nvmem-cells = <&et0macaddr 1>; 88724ba675SRob Herring nvmem-cell-names = "mac-address"; 89724ba675SRob Herring }; 90724ba675SRob Herring 91724ba675SRob Herring port@1 { 92724ba675SRob Herring label = "lan4"; 93724ba675SRob Herring }; 94724ba675SRob Herring 95724ba675SRob Herring port@2 { 96724ba675SRob Herring label = "lan3"; 97724ba675SRob Herring }; 98724ba675SRob Herring 99724ba675SRob Herring port@3 { 100724ba675SRob Herring label = "lan2"; 101724ba675SRob Herring }; 102724ba675SRob Herring 103724ba675SRob Herring port@4 { 104724ba675SRob Herring label = "lan1"; 105724ba675SRob Herring }; 106724ba675SRob Herring 107724ba675SRob Herring port@5 { 108724ba675SRob Herring label = "cpu"; 109724ba675SRob Herring }; 110*473baeabSRafał Miłecki 111*473baeabSRafał Miłecki port@7 { 112*473baeabSRafał Miłecki status = "disabled"; 113*473baeabSRafał Miłecki }; 114*473baeabSRafał Miłecki 115*473baeabSRafał Miłecki port@8 { 116*473baeabSRafał Miłecki status = "disabled"; 117*473baeabSRafał Miłecki }; 118724ba675SRob Herring }; 119724ba675SRob Herring}; 120