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