ARM: dts: bcm: Add missing device_type = "memory" property
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm4708-luxul-xwc-1000.dts
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 {
23                 device_type = "memory";
24                 reg = <0x00000000 0x08000000>;
25         };
26
27         nand: nand@18028000 {
28                 nandcs@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                 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                 #address-cells = <1>;
55                 #size-cells = <0>;
56
57                 restart {
58                         label = "Reset";
59                         linux,code = <KEY_RESTART>;
60                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
61                 };
62         };
63 };
64
65 &spi_nor {
66         status = "okay";
67 };
68
69 &usb3_phy {
70         status = "okay";
71 };