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 {
20		device_type = "memory";
21		reg = <0x00000000 0x08000000>,
22		      <0x88000000 0x18000000>;
23	};
24
25	leds {
26		compatible = "gpio-leds";
27
28		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		#address-cells = <1>;
38		#size-cells = <0>;
39
40		restart {
41			label = "Reset";
42			linux,code = <KEY_RESTART>;
43			gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
44		};
45	};
46};
47
48&uart1 {
49	status = "okay";
50};
51
52&spi_nor {
53	status = "okay";
54};
55
56&srab {
57	status = "okay";
58
59	ports {
60		port@0 {
61			reg = <0>;
62			label = "lan";
63		};
64
65		port@5 {
66			reg = <5>;
67			label = "cpu";
68			ethernet = <&gmac0>;
69		};
70	};
71};
72