Commit | Line | Data |
---|---|---|
2b3db67c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
e27a09ae DH |
2 | /* |
3 | * Broadcom BCM470X / BCM5301X ARM platform code. | |
4 | * DTS for Luxul XWC-1000 | |
5 | * | |
6 | * Copyright 2014 Luxul Inc. | |
e27a09ae DH |
7 | */ |
8 | ||
9 | /dts-v1/; | |
10 | ||
11 | #include "bcm4708.dtsi" | |
9faa5960 | 12 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
e27a09ae DH |
13 | |
14 | / { | |
15 | compatible = "luxul,xwc-1000", "brcm,bcm4708"; | |
16 | model = "Luxul XWC-1000 (BCM4708)"; | |
17 | ||
18 | chosen { | |
5a6516ff | 19 | bootargs = "console=ttyS0,115200 earlycon"; |
e27a09ae DH |
20 | }; |
21 | ||
22 | memory { | |
23 | reg = <0x00000000 0x08000000>; | |
24 | }; | |
25 | ||
9faa5960 HM |
26 | nand: nand@18028000 { |
27 | nandcs@0 { | |
0c0d1c90 RM |
28 | partitions { |
29 | compatible = "fixed-partitions"; | |
30 | #address-cells = <1>; | |
31 | #size-cells = <1>; | |
32 | ||
33 | partition@0 { | |
34 | label = "ubi"; | |
35 | reg = <0x00000000 0x08000000>; | |
36 | }; | |
e27a09ae DH |
37 | }; |
38 | }; | |
39 | }; | |
40 | ||
41 | leds { | |
42 | compatible = "gpio-leds"; | |
43 | ||
44 | status { | |
45 | label = "bcm53xx:green:status"; | |
46 | gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>; | |
47 | linux,default-trigger = "timer"; | |
48 | }; | |
49 | }; | |
50 | ||
51 | gpio-keys { | |
52 | compatible = "gpio-keys"; | |
53 | #address-cells = <1>; | |
54 | #size-cells = <0>; | |
55 | ||
56 | restart { | |
57 | label = "Reset"; | |
58 | linux,code = <KEY_RESTART>; | |
59 | gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; | |
60 | }; | |
61 | }; | |
62 | }; | |
0dfc7f68 | 63 | |
1b47b98a RM |
64 | &spi_nor { |
65 | status = "okay"; | |
66 | }; |