Álvaro Fernández Rojas | 2149f3b | 2017-05-16 18:39:04 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "brcm,bcm6348.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Comtrend CT-5361"; |
| 13 | compatible = "comtrend,ct-5361", "brcm,bcm6348"; |
| 14 | |
| 15 | aliases { |
| 16 | serial0 = &uart0; |
| 17 | }; |
| 18 | |
| 19 | chosen { |
| 20 | stdout-path = "serial0:115200n8"; |
| 21 | }; |
| 22 | |
| 23 | gpio-leds { |
| 24 | compatible = "gpio-leds"; |
| 25 | |
| 26 | power_green { |
| 27 | label = "CT-5361:green:power"; |
| 28 | gpios = <&gpio0 0 1>; |
| 29 | }; |
| 30 | |
| 31 | alarm_red { |
| 32 | label = "CT-5361:red:alarm"; |
| 33 | gpios = <&gpio0 2 1>; |
| 34 | }; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | &gpio0 { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | &pflash { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &uart0 { |
| 47 | u-boot,dm-pre-reloc; |
| 48 | status = "okay"; |
| 49 | }; |