Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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 | nvram@1eff0000 { |
| 28 | compatible = "brcm,nvram"; |
| 29 | reg = <0x1eff0000 0x10000>; |
| 30 | |
| 31 | et0macaddr: et0macaddr { |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | nand_controller: nand-controller@18028000 { |
| 36 | nand@0 { |
| 37 | partitions { |
| 38 | compatible = "fixed-partitions"; |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <1>; |
| 41 | |
| 42 | partition@0 { |
| 43 | label = "ubi"; |
| 44 | reg = <0x00000000 0x08000000>; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | leds { |
| 51 | compatible = "gpio-leds"; |
| 52 | |
| 53 | led-status { |
| 54 | label = "bcm53xx:green:status"; |
| 55 | gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>; |
| 56 | linux,default-trigger = "timer"; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | gpio-keys { |
| 61 | compatible = "gpio-keys"; |
| 62 | |
| 63 | button-restart { |
| 64 | label = "Reset"; |
| 65 | linux,code = <KEY_RESTART>; |
| 66 | gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; |
| 67 | }; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | &gmac0 { |
| 72 | nvmem-cells = <&et0macaddr>; |
| 73 | nvmem-cell-names = "mac-address"; |
| 74 | }; |
| 75 | |
| 76 | &spi_nor { |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
| 80 | &srab { |
| 81 | status = "okay"; |
| 82 | |
| 83 | ports { |
| 84 | port@4 { |
| 85 | label = "lan"; |
| 86 | }; |
| 87 | |
| 88 | port@5 { |
| 89 | label = "cpu"; |
| 90 | }; |
| 91 | |
| 92 | port@7 { |
| 93 | status = "disabled"; |
| 94 | }; |
| 95 | |
| 96 | port@8 { |
| 97 | status = "disabled"; |
| 98 | }; |
| 99 | }; |
| 100 | }; |