Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Álvaro Fernández Rojas | 2114b1f | 2017-04-25 00:39:24 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
Álvaro Fernández Rojas | 2114b1f | 2017-04-25 00:39:24 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "brcm,bcm6328.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Comtrend AR-5387un"; |
| 12 | compatible = "comtrend,ar5387-un", "brcm,bcm6328"; |
| 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart0; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | }; |
| 22 | |
Álvaro Fernández Rojas | 56821ff | 2018-02-04 21:10:17 +0100 | [diff] [blame] | 23 | &ehci { |
| 24 | status = "okay"; |
| 25 | }; |
| 26 | |
Álvaro Fernández Rojas | 42ecb78 | 2017-05-07 20:10:27 +0200 | [diff] [blame] | 27 | &leds { |
| 28 | status = "okay"; |
| 29 | |
| 30 | led@1 { |
| 31 | reg = <1>; |
| 32 | label = "AR-5387un:red:inet"; |
| 33 | }; |
| 34 | |
| 35 | led@4 { |
| 36 | reg = <4>; |
| 37 | label = "AR-5387un:red:power"; |
| 38 | }; |
| 39 | |
| 40 | led@7 { |
| 41 | reg = <7>; |
| 42 | label = "AR-5387un:green:inet"; |
| 43 | }; |
| 44 | |
| 45 | led@8 { |
| 46 | reg = <8>; |
| 47 | label = "AR-5387un:green:power"; |
| 48 | }; |
| 49 | |
| 50 | led@11 { |
| 51 | reg = <11>; |
| 52 | active-low; |
| 53 | label = "AR-5387un:green:dsl"; |
| 54 | }; |
| 55 | }; |
| 56 | |
Álvaro Fernández Rojas | 56821ff | 2018-02-04 21:10:17 +0100 | [diff] [blame] | 57 | &ohci { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
Álvaro Fernández Rojas | 5824372 | 2018-01-20 02:13:41 +0100 | [diff] [blame] | 61 | &spi { |
| 62 | status = "okay"; |
| 63 | |
| 64 | spi-flash@0 { |
| 65 | compatible = "spi-flash"; |
| 66 | reg = <0>; |
| 67 | #address-cells = <1>; |
| 68 | #size-cells = <1>; |
| 69 | spi-max-frequency = <33333334>; |
| 70 | }; |
| 71 | }; |
| 72 | |
Álvaro Fernández Rojas | 2114b1f | 2017-04-25 00:39:24 +0200 | [diff] [blame] | 73 | &uart0 { |
| 74 | u-boot,dm-pre-reloc; |
| 75 | status = "okay"; |
| 76 | }; |
Álvaro Fernández Rojas | 56821ff | 2018-02-04 21:10:17 +0100 | [diff] [blame] | 77 | |
| 78 | &usbh { |
| 79 | status = "okay"; |
| 80 | }; |