xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm47094-luxul-xwc-2000.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2019 Legrand AV Inc.
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "bcm47094.dtsi"
9f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch8.dtsi"
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	compatible = "luxul,xwc-2000-v1", "brcm,bcm47094", "brcm,bcm4708";
13f126890aSEmmanuel Vadot	model = "Luxul XWC-2000 V1";
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	chosen {
16f126890aSEmmanuel Vadot		bootargs = "earlycon";
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	memory@0 {
20f126890aSEmmanuel Vadot		device_type = "memory";
21f126890aSEmmanuel Vadot		reg = <0x00000000 0x08000000>,
22f126890aSEmmanuel Vadot		      <0x88000000 0x18000000>;
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	nvram@1eff0000 {
26f126890aSEmmanuel Vadot		compatible = "brcm,nvram";
27f126890aSEmmanuel Vadot		reg = <0x1eff0000 0x10000>;
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot		et0macaddr: et0macaddr {
30f126890aSEmmanuel Vadot		};
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	leds {
34f126890aSEmmanuel Vadot		compatible = "gpio-leds";
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot		led-status {
37f126890aSEmmanuel Vadot			label = "bcm53xx:green:status";
38f126890aSEmmanuel Vadot			gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
39f126890aSEmmanuel Vadot			linux,default-trigger = "timer";
40f126890aSEmmanuel Vadot		};
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot	gpio-keys {
44f126890aSEmmanuel Vadot		compatible = "gpio-keys";
45f126890aSEmmanuel Vadot
46f126890aSEmmanuel Vadot		button-restart {
47f126890aSEmmanuel Vadot			label = "Reset";
48f126890aSEmmanuel Vadot			linux,code = <KEY_RESTART>;
49f126890aSEmmanuel Vadot			gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
50f126890aSEmmanuel Vadot		};
51f126890aSEmmanuel Vadot	};
52f126890aSEmmanuel Vadot};
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot&uart1 {
55f126890aSEmmanuel Vadot	status = "okay";
56f126890aSEmmanuel Vadot};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot&gmac0 {
59f126890aSEmmanuel Vadot	nvmem-cells = <&et0macaddr>;
60f126890aSEmmanuel Vadot	nvmem-cell-names = "mac-address";
61f126890aSEmmanuel Vadot};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot&spi_nor {
64f126890aSEmmanuel Vadot	status = "okay";
65f126890aSEmmanuel Vadot};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot&srab {
68f126890aSEmmanuel Vadot	status = "okay";
69f126890aSEmmanuel Vadot
70f126890aSEmmanuel Vadot	ports {
71f126890aSEmmanuel Vadot		port@0 {
72f126890aSEmmanuel Vadot			label = "lan";
73f126890aSEmmanuel Vadot		};
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot		port@5 {
76f126890aSEmmanuel Vadot			label = "cpu";
77f126890aSEmmanuel Vadot		};
78*84943d6fSEmmanuel Vadot
79*84943d6fSEmmanuel Vadot		port@7 {
80*84943d6fSEmmanuel Vadot			status = "disabled";
81*84943d6fSEmmanuel Vadot		};
82*84943d6fSEmmanuel Vadot
83*84943d6fSEmmanuel Vadot		port@8 {
84*84943d6fSEmmanuel Vadot			status = "disabled";
85*84943d6fSEmmanuel Vadot		};
86f126890aSEmmanuel Vadot	};
87f126890aSEmmanuel Vadot};
88