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	leds {
26		compatible = "gpio-leds";
27
28		led-status {
29			label = "bcm53xx:green:status";
30			gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
31			linux,default-trigger = "timer";
32		};
33	};
34
35	gpio-keys {
36		compatible = "gpio-keys";
37
38		button-restart {
39			label = "Reset";
40			linux,code = <KEY_RESTART>;
41			gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
42		};
43	};
44};
45
46&uart1 {
47	status = "okay";
48};
49
50&spi_nor {
51	status = "okay";
52};
53
54&srab {
55	status = "okay";
56
57	ports {
58		port@0 {
59			reg = <0>;
60			label = "lan";
61		};
62
63		port@5 {
64			reg = <5>;
65			label = "cpu";
66			ethernet = <&gmac0>;
67		};
68	};
69};
70