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