| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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: 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 | |
| 55 | 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 | &usb3_phy { |
| 68 | status = "okay"; |
| 69 | }; |