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 | 1f4b0d5 | 2017-10-09 09:46:22 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Luxul Inc. |
Dan Haab | 1f4b0d5 | 2017-10-09 09:46:22 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "bcm4708.dtsi" |
| 9 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
| 10 | |
| 11 | / { |
| 12 | compatible = "luxul,xbr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; |
| 13 | model = "Luxul XBR-4500 V1"; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "earlycon"; |
| 17 | }; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x00000000 0x08000000 |
| 21 | 0x88000000 0x18000000>; |
| 22 | }; |
| 23 | |
| 24 | leds { |
| 25 | compatible = "gpio-leds"; |
| 26 | |
| 27 | status { |
| 28 | label = "bcm53xx:green:status"; |
| 29 | gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>; |
| 30 | linux,default-trigger = "timer"; |
| 31 | }; |
| 32 | |
| 33 | usb3 { |
| 34 | label = "bcm53xx:green:usb3"; |
| 35 | gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>; |
| 36 | trigger-sources = <&ohci_port1>, <&ehci_port1>, |
| 37 | <&xhci_port1>; |
| 38 | linux,default-trigger = "usbport"; |
| 39 | }; |
| 40 | |
| 41 | }; |
| 42 | |
| 43 | gpio-keys { |
| 44 | compatible = "gpio-keys"; |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | |
| 48 | restart { |
| 49 | label = "Reset"; |
| 50 | linux,code = <KEY_RESTART>; |
| 51 | gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; |
| 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | &usb3 { |
| 57 | vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; |
| 58 | }; |
| 59 | |
| 60 | &spi_nor { |
| 61 | status = "okay"; |
| 62 | }; |