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