Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Álvaro Fernández Rojas | a186d26 | 2017-05-07 20:11:32 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
Álvaro Fernández Rojas | a186d26 | 2017-05-07 20:11:32 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "brcm,bcm6358.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "SFR NeufBox 4 (Sercomm) Board"; |
| 12 | compatible = "sfr,nb4-ser", "brcm,bcm6358"; |
| 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart0; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | |
| 22 | gpio-leds { |
| 23 | compatible = "gpio-leds"; |
| 24 | |
| 25 | traffic_white { |
| 26 | label = "NB4-SER:white:traffic"; |
| 27 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
| 28 | }; |
| 29 | |
| 30 | service_blue { |
| 31 | label = "NB4-SER:blue:service"; |
| 32 | gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; |
| 33 | }; |
| 34 | |
| 35 | wifi_white { |
| 36 | label = "NB4-SER:white:wifi"; |
| 37 | gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; |
| 38 | }; |
| 39 | |
| 40 | service_red { |
| 41 | label = "NB4-SER:red:service"; |
| 42 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
| 43 | }; |
| 44 | |
| 45 | service_green { |
| 46 | label = "NB4-SER:green:service"; |
| 47 | gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; |
| 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | |
Álvaro Fernández Rojas | e39f6c0 | 2018-02-04 11:19:14 +0100 | [diff] [blame] | 52 | &ehci { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
Álvaro Fernández Rojas | 9c0c7e8 | 2018-12-01 19:00:31 +0100 | [diff] [blame] | 56 | &enet0 { |
| 57 | status = "okay"; |
| 58 | phy = <&enet0phy>; |
| 59 | phy-mode = "internal"; |
| 60 | |
| 61 | enet0phy: fixed-link { |
| 62 | reg = <1>; |
| 63 | speed = <100>; |
| 64 | full-duplex; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | &enet1 { |
| 69 | status = "okay"; |
| 70 | phy = <&enet1phy>; |
| 71 | phy-mode = "mii"; |
| 72 | |
| 73 | enet1phy: fixed-link { |
| 74 | reg = <1>; |
| 75 | speed = <100>; |
| 76 | full-duplex; |
| 77 | }; |
| 78 | }; |
| 79 | |
Álvaro Fernández Rojas | a186d26 | 2017-05-07 20:11:32 +0200 | [diff] [blame] | 80 | &gpio0 { |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &leds { |
| 85 | status = "okay"; |
| 86 | brcm,clk-div = <1>; |
| 87 | |
| 88 | led@0 { |
| 89 | reg = <0>; |
| 90 | active-low; |
| 91 | label = "NB4-SER:white:alarm"; |
| 92 | }; |
| 93 | |
| 94 | led@2 { |
| 95 | reg = <2>; |
| 96 | active-low; |
| 97 | label = "NB4-SER:white:tv"; |
| 98 | }; |
| 99 | |
| 100 | led@3 { |
| 101 | reg = <3>; |
| 102 | active-low; |
| 103 | label = "NB4-SER:white:tel"; |
| 104 | }; |
| 105 | |
| 106 | led@4 { |
| 107 | reg = <4>; |
| 108 | active-low; |
| 109 | label = "NB4-SER:white:adsl"; |
| 110 | }; |
| 111 | }; |
| 112 | |
Álvaro Fernández Rojas | e39f6c0 | 2018-02-04 11:19:14 +0100 | [diff] [blame] | 113 | &ohci { |
| 114 | status = "okay"; |
| 115 | }; |
| 116 | |
Álvaro Fernández Rojas | a186d26 | 2017-05-07 20:11:32 +0200 | [diff] [blame] | 117 | &pflash { |
| 118 | status = "okay"; |
| 119 | }; |
| 120 | |
| 121 | &uart0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 122 | bootph-all; |
Álvaro Fernández Rojas | a186d26 | 2017-05-07 20:11:32 +0200 | [diff] [blame] | 123 | status = "okay"; |
| 124 | }; |
Álvaro Fernández Rojas | e39f6c0 | 2018-02-04 11:19:14 +0100 | [diff] [blame] | 125 | |
| 126 | &usbh { |
| 127 | status = "okay"; |
| 128 | }; |