1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Copyright 2019 Legrand AV Inc. 4 */ 5 6/dts-v1/; 7 8#include "bcm47094.dtsi" 9#include "bcm5301x-nand-cs0-bch8.dtsi" 10 11/ { 12 compatible = "luxul,xwc-2000-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul XWC-2000 V1"; 14 15 chosen { 16 bootargs = "earlycon"; 17 }; 18 19 memory@0 { 20 device_type = "memory"; 21 reg = <0x00000000 0x08000000>, 22 <0x88000000 0x18000000>; 23 }; 24 25 nvram@1eff0000 { 26 compatible = "brcm,nvram"; 27 reg = <0x1eff0000 0x10000>; 28 29 et0macaddr: et0macaddr { 30 }; 31 }; 32 33 leds { 34 compatible = "gpio-leds"; 35 36 led-status { 37 label = "bcm53xx:green:status"; 38 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; 39 linux,default-trigger = "timer"; 40 }; 41 }; 42 43 gpio-keys { 44 compatible = "gpio-keys"; 45 46 button-restart { 47 label = "Reset"; 48 linux,code = <KEY_RESTART>; 49 gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; 50 }; 51 }; 52}; 53 54&uart1 { 55 status = "okay"; 56}; 57 58&gmac0 { 59 nvmem-cells = <&et0macaddr>; 60 nvmem-cell-names = "mac-address"; 61}; 62 63&spi_nor { 64 status = "okay"; 65}; 66 67&srab { 68 status = "okay"; 69 70 ports { 71 port@0 { 72 label = "lan"; 73 }; 74 75 port@5 { 76 label = "cpu"; 77 }; 78 79 port@7 { 80 status = "disabled"; 81 }; 82 83 port@8 { 84 status = "disabled"; 85 }; 86 }; 87}; 88