Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Álvaro Fernández Rojas | 58e81b4 | 2017-04-25 00:39:26 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
Álvaro Fernández Rojas | 58e81b4 | 2017-04-25 00:39:26 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "brcm,bcm63268.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Comtrend VR-3032u"; |
| 12 | compatible = "comtrend,vr-3032u", "brcm,bcm63268"; |
| 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart0; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | }; |
| 22 | |
Álvaro Fernández Rojas | 08a9d72 | 2018-02-04 21:10:21 +0100 | [diff] [blame] | 23 | &ehci { |
| 24 | status = "okay"; |
| 25 | }; |
| 26 | |
Álvaro Fernández Rojas | c9773ac | 2018-12-01 19:00:40 +0100 | [diff] [blame] | 27 | &enet { |
| 28 | status = "okay"; |
| 29 | |
| 30 | port@0 { |
| 31 | compatible = "brcm,enetsw-port"; |
| 32 | reg = <0>; |
| 33 | label = "fe2"; |
| 34 | brcm,phy-id = <1>; |
| 35 | }; |
| 36 | |
| 37 | port@1 { |
| 38 | compatible = "brcm,enetsw-port"; |
| 39 | reg = <1>; |
| 40 | label = "fe3"; |
| 41 | brcm,phy-id = <2>; |
| 42 | }; |
| 43 | |
| 44 | port@2 { |
| 45 | compatible = "brcm,enetsw-port"; |
| 46 | reg = <2>; |
| 47 | label = "fe4"; |
| 48 | brcm,phy-id = <3>; |
| 49 | }; |
| 50 | |
| 51 | port@3 { |
| 52 | compatible = "brcm,enetsw-port"; |
| 53 | reg = <3>; |
| 54 | label = "fe1"; |
| 55 | brcm,phy-id = <4>; |
| 56 | }; |
| 57 | }; |
| 58 | |
Álvaro Fernández Rojas | 0c31af5 | 2017-05-07 20:10:28 +0200 | [diff] [blame] | 59 | &leds { |
| 60 | status = "okay"; |
| 61 | brcm,serial-leds; |
| 62 | brcm,serial-dat-low; |
| 63 | brcm,serial-shift-inv; |
| 64 | |
| 65 | led@2 { |
| 66 | reg = <2>; |
| 67 | active-low; |
| 68 | label = "VR-3032u:red:inet"; |
| 69 | }; |
| 70 | |
| 71 | led@3 { |
| 72 | reg = <3>; |
| 73 | active-low; |
| 74 | label = "VR-3032u:green:dsl"; |
| 75 | }; |
| 76 | |
| 77 | led@4 { |
| 78 | reg = <4>; |
| 79 | active-low; |
| 80 | label = "VR-3032u:green:usb"; |
| 81 | }; |
| 82 | |
| 83 | led@7 { |
| 84 | reg = <7>; |
| 85 | active-low; |
| 86 | label = "VR-3032u:green:wps"; |
| 87 | }; |
| 88 | |
| 89 | led@8 { |
| 90 | reg = <8>; |
| 91 | active-low; |
| 92 | label = "VR-3032u:green:inet"; |
| 93 | }; |
| 94 | |
| 95 | led@20 { |
| 96 | reg = <20>; |
| 97 | active-low; |
| 98 | label = "VR-3032u:green:power"; |
| 99 | }; |
| 100 | }; |
| 101 | |
Álvaro Fernández Rojas | 9a8e3c6 | 2019-08-28 19:12:20 +0200 | [diff] [blame] | 102 | &nand { |
| 103 | status = "okay"; |
| 104 | |
| 105 | nandcs@0 { |
| 106 | compatible = "brcm,nandcs"; |
| 107 | reg = <0>; |
| 108 | nand-ecc-strength = <15>; |
| 109 | nand-ecc-step-size = <512>; |
| 110 | nand-on-flash-bbt; |
| 111 | brcm,nand-oob-sector-size = <64>; |
| 112 | }; |
| 113 | }; |
| 114 | |
Álvaro Fernández Rojas | 08a9d72 | 2018-02-04 21:10:21 +0100 | [diff] [blame] | 115 | &ohci { |
| 116 | status = "okay"; |
| 117 | }; |
| 118 | |
Álvaro Fernández Rojas | 58e81b4 | 2017-04-25 00:39:26 +0200 | [diff] [blame] | 119 | &uart0 { |
| 120 | u-boot,dm-pre-reloc; |
| 121 | status = "okay"; |
| 122 | }; |
Álvaro Fernández Rojas | 08a9d72 | 2018-02-04 21:10:21 +0100 | [diff] [blame] | 123 | |
| 124 | &usbh { |
| 125 | status = "okay"; |
| 126 | }; |