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_controller: nand-controller@18028000 {
28		nand@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		led-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		button-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&srab {
68	status = "okay";
69
70	ports {
71		port@4 {
72			reg = <4>;
73			label = "lan";
74		};
75
76		port@5 {
77			reg = <5>;
78			label = "cpu";
79			ethernet = <&gmac0>;
80		};
81	};
82};
83