xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm47094-luxul-xwc-2000.dts (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2019 Legrand AV Inc.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include "bcm47094.dtsi"
9724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi"
10724ba675SRob Herring
11724ba675SRob Herring/ {
12724ba675SRob Herring	compatible = "luxul,xwc-2000-v1", "brcm,bcm47094", "brcm,bcm4708";
13724ba675SRob Herring	model = "Luxul XWC-2000 V1";
14724ba675SRob Herring
15724ba675SRob Herring	chosen {
16724ba675SRob Herring		bootargs = "earlycon";
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	memory@0 {
20724ba675SRob Herring		device_type = "memory";
21724ba675SRob Herring		reg = <0x00000000 0x08000000>,
22724ba675SRob Herring		      <0x88000000 0x18000000>;
23724ba675SRob Herring	};
24724ba675SRob Herring
25724ba675SRob Herring	nvram@1eff0000 {
26724ba675SRob Herring		compatible = "brcm,nvram";
27724ba675SRob Herring		reg = <0x1eff0000 0x10000>;
28724ba675SRob Herring
29724ba675SRob Herring		et0macaddr: et0macaddr {
30724ba675SRob Herring		};
31724ba675SRob Herring	};
32724ba675SRob Herring
33724ba675SRob Herring	leds {
34724ba675SRob Herring		compatible = "gpio-leds";
35724ba675SRob Herring
36724ba675SRob Herring		led-status {
37724ba675SRob Herring			label = "bcm53xx:green:status";
38724ba675SRob Herring			gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
39724ba675SRob Herring			linux,default-trigger = "timer";
40724ba675SRob Herring		};
41724ba675SRob Herring	};
42724ba675SRob Herring
43724ba675SRob Herring	gpio-keys {
44724ba675SRob Herring		compatible = "gpio-keys";
45724ba675SRob Herring
46724ba675SRob Herring		button-restart {
47724ba675SRob Herring			label = "Reset";
48724ba675SRob Herring			linux,code = <KEY_RESTART>;
49724ba675SRob Herring			gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
50724ba675SRob Herring		};
51724ba675SRob Herring	};
52724ba675SRob Herring};
53724ba675SRob Herring
54724ba675SRob Herring&uart1 {
55724ba675SRob Herring	status = "okay";
56724ba675SRob Herring};
57724ba675SRob Herring
58724ba675SRob Herring&gmac0 {
59724ba675SRob Herring	nvmem-cells = <&et0macaddr>;
60724ba675SRob Herring	nvmem-cell-names = "mac-address";
61724ba675SRob Herring};
62724ba675SRob Herring
63724ba675SRob Herring&spi_nor {
64724ba675SRob Herring	status = "okay";
65724ba675SRob Herring};
66724ba675SRob Herring
67724ba675SRob Herring&srab {
68724ba675SRob Herring	status = "okay";
69724ba675SRob Herring
70724ba675SRob Herring	ports {
71724ba675SRob Herring		port@0 {
72724ba675SRob Herring			label = "lan";
73724ba675SRob Herring		};
74724ba675SRob Herring
75724ba675SRob Herring		port@5 {
76724ba675SRob Herring			label = "cpu";
77724ba675SRob Herring		};
78*473baeabSRafał Miłecki
79*473baeabSRafał Miłecki		port@7 {
80*473baeabSRafał Miłecki			status = "disabled";
81*473baeabSRafał Miłecki		};
82*473baeabSRafał Miłecki
83*473baeabSRafał Miłecki		port@8 {
84*473baeabSRafał Miłecki			status = "disabled";
85*473baeabSRafał Miłecki		};
86724ba675SRob Herring	};
87724ba675SRob Herring};
88