Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Álvaro Fernández Rojas | 5e14ce2 | 2017-05-16 18:39:04 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
Álvaro Fernández Rojas | 5e14ce2 | 2017-05-16 18:39:04 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "brcm,bcm6348.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Comtrend CT-5361"; |
| 12 | compatible = "comtrend,ct-5361", "brcm,bcm6348"; |
| 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 | power_green { |
| 26 | label = "CT-5361:green:power"; |
| 27 | gpios = <&gpio0 0 1>; |
| 28 | }; |
| 29 | |
| 30 | alarm_red { |
| 31 | label = "CT-5361:red:alarm"; |
| 32 | gpios = <&gpio0 2 1>; |
| 33 | }; |
| 34 | }; |
| 35 | }; |
| 36 | |
Álvaro Fernández Rojas | eb4bdc7 | 2018-12-01 19:00:28 +0100 | [diff] [blame] | 37 | &enet1 { |
| 38 | status = "okay"; |
| 39 | phy = <&enet1phy>; |
| 40 | phy-mode = "mii"; |
| 41 | |
| 42 | enet1phy: fixed-link { |
| 43 | reg = <1>; |
| 44 | speed = <100>; |
| 45 | full-duplex; |
| 46 | }; |
| 47 | }; |
| 48 | |
Álvaro Fernández Rojas | 5e14ce2 | 2017-05-16 18:39:04 +0200 | [diff] [blame] | 49 | &gpio0 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
Álvaro Fernández Rojas | 0975a61 | 2018-02-04 11:18:26 +0100 | [diff] [blame] | 53 | &ohci { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
Álvaro Fernández Rojas | 5e14ce2 | 2017-05-16 18:39:04 +0200 | [diff] [blame] | 57 | &pflash { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &uart0 { |
| 62 | u-boot,dm-pre-reloc; |
| 63 | status = "okay"; |
| 64 | }; |
Álvaro Fernández Rojas | 0975a61 | 2018-02-04 11:18:26 +0100 | [diff] [blame] | 65 | |
| 66 | &usbh { |
| 67 | status = "okay"; |
| 68 | }; |