Rafał Miłecki | 2b3db67 | 2018-05-02 16:11:02 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
Dan Haab | e27a09a | 2015-01-19 12:45:37 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Broadcom BCM470X / BCM5301X ARM platform code. |
| 4 | * DTS for Luxul XWC-1000 |
| 5 | * |
| 6 | * Copyright 2014 Luxul Inc. |
Dan Haab | e27a09a | 2015-01-19 12:45:37 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "bcm4708.dtsi" |
Hauke Mehrtens | 9faa596 | 2015-05-29 23:39:47 +0200 | [diff] [blame] | 12 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
Dan Haab | e27a09a | 2015-01-19 12:45:37 -0700 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | compatible = "luxul,xwc-1000", "brcm,bcm4708"; |
| 16 | model = "Luxul XWC-1000 (BCM4708)"; |
| 17 | |
| 18 | chosen { |
Rafał Miłecki | 5a6516f | 2016-04-06 18:49:55 +0200 | [diff] [blame] | 19 | bootargs = "console=ttyS0,115200 earlycon"; |
Dan Haab | e27a09a | 2015-01-19 12:45:37 -0700 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | memory { |
| 23 | reg = <0x00000000 0x08000000>; |
| 24 | }; |
| 25 | |
Hauke Mehrtens | 9faa596 | 2015-05-29 23:39:47 +0200 | [diff] [blame] | 26 | nand: nand@18028000 { |
| 27 | nandcs@0 { |
Rafał Miłecki | 0c0d1c9 | 2018-04-04 15:14:21 +0200 | [diff] [blame] | 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 | }; |
Dan Haab | e27a09a | 2015-01-19 12:45:37 -0700 | [diff] [blame] | 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 | }; |
Rafał Miłecki | 0dfc7f6 | 2015-06-29 07:22:16 +0200 | [diff] [blame] | 63 | |
Rafał Miłecki | 1b47b98 | 2016-04-19 08:56:46 +0200 | [diff] [blame] | 64 | &spi_nor { |
| 65 | status = "okay"; |
| 66 | }; |
Vivek Unune | 37f6130e | 2018-04-09 18:31:53 -0400 | [diff] [blame] | 67 | |
| 68 | &usb3_phy { |
| 69 | status = "okay"; |
| 70 | }; |