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,bcm6328.dtsi" 10 11/ { 12 model = "Comtrend AR-5387un"; 13 compatible = "comtrend,ar5387-un", "brcm,bcm6328"; 14 15 aliases { 16 serial0 = &uart0; 17 }; 18 19 chosen { 20 stdout-path = "serial0:115200n8"; 21 }; 22}; 23 24&leds { 25 status = "okay"; 26 27 led@1 { 28 reg = <1>; 29 label = "AR-5387un:red:inet"; 30 }; 31 32 led@4 { 33 reg = <4>; 34 label = "AR-5387un:red:power"; 35 }; 36 37 led@7 { 38 reg = <7>; 39 label = "AR-5387un:green:inet"; 40 }; 41 42 led@8 { 43 reg = <8>; 44 label = "AR-5387un:green:power"; 45 }; 46 47 led@11 { 48 reg = <11>; 49 active-low; 50 label = "AR-5387un:green:dsl"; 51 }; 52}; 53 54&spi { 55 status = "okay"; 56 57 spi-flash@0 { 58 compatible = "spi-flash"; 59 reg = <0>; 60 #address-cells = <1>; 61 #size-cells = <1>; 62 spi-max-frequency = <33333334>; 63 }; 64}; 65 66&uart0 { 67 u-boot,dm-pre-reloc; 68 status = "okay"; 69}; 70