Loading...
1/*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for Luxul XWC-1000
4 *
5 * Copyright 2014 Luxul Inc.
6 *
7 * Licensed under the GNU/GPL. See COPYING for details.
8 */
9
10/dts-v1/;
11
12#include "bcm4708.dtsi"
13#include "bcm5301x-nand-cs0-bch8.dtsi"
14
15/ {
16 compatible = "luxul,xwc-1000", "brcm,bcm4708";
17 model = "Luxul XWC-1000 (BCM4708)";
18
19 chosen {
20 bootargs = "console=ttyS0,115200 earlycon";
21 };
22
23 memory {
24 reg = <0x00000000 0x08000000>;
25 };
26
27 nand: nand@18028000 {
28 nandcs@0 {
29 partition@0 {
30 label = "ubi";
31 reg = <0x00000000 0x08000000>;
32 };
33 };
34 };
35
36 leds {
37 compatible = "gpio-leds";
38
39 status {
40 label = "bcm53xx:green:status";
41 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
42 linux,default-trigger = "timer";
43 };
44 };
45
46 gpio-keys {
47 compatible = "gpio-keys";
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 restart {
52 label = "Reset";
53 linux,code = <KEY_RESTART>;
54 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
55 };
56 };
57};
58
59&spi_nor {
60 status = "okay";
61};
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};