1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for Luxul XWC-1000
5 *
6 * Copyright 2014 Luxul Inc.
7 */
8
9/dts-v1/;
10
11#include "bcm4708.dtsi"
12#include "bcm5301x-nand-cs0-bch8.dtsi"
13
14/ {
15	compatible = "luxul,xwc-1000", "brcm,bcm4708";
16	model = "Luxul XWC-1000 (BCM4708)";
17
18	chosen {
19		bootargs = "console=ttyS0,115200 earlycon";
20	};
21
22	memory@0 {
23		device_type = "memory";
24		reg = <0x00000000 0x08000000>;
25	};
26
27	nand: nand@18028000 {
28		nandcs@0 {
29			partitions {
30				compatible = "fixed-partitions";
31				#address-cells = <1>;
32				#size-cells = <1>;
33
34				partition@0 {
35					label = "ubi";
36					reg = <0x00000000 0x08000000>;
37				};
38			};
39		};
40	};
41
42	leds {
43		compatible = "gpio-leds";
44
45		status {
46			label = "bcm53xx:green:status";
47			gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
48			linux,default-trigger = "timer";
49		};
50	};
51
52	gpio-keys {
53		compatible = "gpio-keys";
54
55		restart {
56			label = "Reset";
57			linux,code = <KEY_RESTART>;
58			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
59		};
60	};
61};
62
63&spi_nor {
64	status = "okay";
65};
66
67&usb3_phy {
68	status = "okay";
69};
70
71&srab {
72	status = "okay";
73
74	ports {
75		#address-cells = <1>;
76		#size-cells = <0>;
77
78		port@4 {
79			reg = <4>;
80			label = "lan";
81		};
82
83		port@5 {
84			reg = <5>;
85			label = "cpu";
86			ethernet = <&gmac0>;
87		};
88	};
89};
90