blob: 42bafc6440130be6f729b1f69f1228b7cc72659e [file] [log] [blame]
Rafał Miłecki2b3db672018-05-02 16:11:02 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Dan Haabe27a09a2015-01-19 12:45:37 -07002/*
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for Luxul XWC-1000
5 *
6 * Copyright 2014 Luxul Inc.
Dan Haabe27a09a2015-01-19 12:45:37 -07007 */
8
9/dts-v1/;
10
11#include "bcm4708.dtsi"
Hauke Mehrtens9faa5962015-05-29 23:39:47 +020012#include "bcm5301x-nand-cs0-bch8.dtsi"
Dan Haabe27a09a2015-01-19 12:45:37 -070013
14/ {
15 compatible = "luxul,xwc-1000", "brcm,bcm4708";
16 model = "Luxul XWC-1000 (BCM4708)";
17
18 chosen {
Rafał Miłecki5a6516f2016-04-06 18:49:55 +020019 bootargs = "console=ttyS0,115200 earlycon";
Dan Haabe27a09a2015-01-19 12:45:37 -070020 };
21
22 memory {
23 reg = <0x00000000 0x08000000>;
24 };
25
Hauke Mehrtens9faa5962015-05-29 23:39:47 +020026 nand: nand@18028000 {
27 nandcs@0 {
Rafał Miłecki0c0d1c92018-04-04 15:14:21 +020028 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 };
Dan Haabe27a09a2015-01-19 12:45:37 -070037 };
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};
Rafał Miłecki0dfc7f62015-06-29 07:22:16 +020063
Rafał Miłecki1b47b982016-04-19 08:56:46 +020064&spi_nor {
65 status = "okay";
66};
Vivek Unune37f6130e2018-04-09 18:31:53 -040067
68&usb3_phy {
69 status = "okay";
70};