1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2017 Luxul Inc. 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring/dts-v1/; 7*724ba675SRob Herring 8*724ba675SRob Herring#include "bcm4708.dtsi" 9*724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi" 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring compatible = "luxul,xbr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; 13*724ba675SRob Herring model = "Luxul XBR-4500 V1"; 14*724ba675SRob Herring 15*724ba675SRob Herring chosen { 16*724ba675SRob Herring bootargs = "earlycon"; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring memory@0 { 20*724ba675SRob Herring device_type = "memory"; 21*724ba675SRob Herring reg = <0x00000000 0x08000000>, 22*724ba675SRob Herring <0x88000000 0x18000000>; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring nvram@1eff0000 { 26*724ba675SRob Herring compatible = "brcm,nvram"; 27*724ba675SRob Herring reg = <0x1eff0000 0x10000>; 28*724ba675SRob Herring 29*724ba675SRob Herring et0macaddr: et0macaddr { 30*724ba675SRob Herring #nvmem-cell-cells = <1>; 31*724ba675SRob Herring }; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring leds { 35*724ba675SRob Herring compatible = "gpio-leds"; 36*724ba675SRob Herring 37*724ba675SRob Herring led-status { 38*724ba675SRob Herring label = "bcm53xx:green:status"; 39*724ba675SRob Herring gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>; 40*724ba675SRob Herring linux,default-trigger = "timer"; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring led-usb3 { 44*724ba675SRob Herring label = "bcm53xx:green:usb3"; 45*724ba675SRob Herring gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>; 46*724ba675SRob Herring trigger-sources = <&ohci_port1>, <&ehci_port1>, 47*724ba675SRob Herring <&xhci_port1>; 48*724ba675SRob Herring linux,default-trigger = "usbport"; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring }; 52*724ba675SRob Herring 53*724ba675SRob Herring gpio-keys { 54*724ba675SRob Herring compatible = "gpio-keys"; 55*724ba675SRob Herring 56*724ba675SRob Herring button-restart { 57*724ba675SRob Herring label = "Reset"; 58*724ba675SRob Herring linux,code = <KEY_RESTART>; 59*724ba675SRob Herring gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring }; 62*724ba675SRob Herring}; 63*724ba675SRob Herring 64*724ba675SRob Herring&usb3 { 65*724ba675SRob Herring vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&gmac0 { 69*724ba675SRob Herring nvmem-cells = <&et0macaddr 0>; 70*724ba675SRob Herring nvmem-cell-names = "mac-address"; 71*724ba675SRob Herring}; 72*724ba675SRob Herring 73*724ba675SRob Herring&spi_nor { 74*724ba675SRob Herring status = "okay"; 75*724ba675SRob Herring}; 76*724ba675SRob Herring 77*724ba675SRob Herring&usb3_phy { 78*724ba675SRob Herring status = "okay"; 79*724ba675SRob Herring}; 80*724ba675SRob Herring 81*724ba675SRob Herring&srab { 82*724ba675SRob Herring status = "okay"; 83*724ba675SRob Herring 84*724ba675SRob Herring ports { 85*724ba675SRob Herring port@0 { 86*724ba675SRob Herring label = "wan"; 87*724ba675SRob Herring nvmem-cells = <&et0macaddr 1>; 88*724ba675SRob Herring nvmem-cell-names = "mac-address"; 89*724ba675SRob Herring }; 90*724ba675SRob Herring 91*724ba675SRob Herring port@1 { 92*724ba675SRob Herring label = "lan4"; 93*724ba675SRob Herring }; 94*724ba675SRob Herring 95*724ba675SRob Herring port@2 { 96*724ba675SRob Herring label = "lan3"; 97*724ba675SRob Herring }; 98*724ba675SRob Herring 99*724ba675SRob Herring port@3 { 100*724ba675SRob Herring label = "lan2"; 101*724ba675SRob Herring }; 102*724ba675SRob Herring 103*724ba675SRob Herring port@4 { 104*724ba675SRob Herring label = "lan1"; 105*724ba675SRob Herring }; 106*724ba675SRob Herring 107*724ba675SRob Herring port@5 { 108*724ba675SRob Herring label = "cpu"; 109*724ba675SRob Herring }; 110*724ba675SRob Herring }; 111*724ba675SRob Herring}; 112