1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> 4 */ 5 6/dts-v1/; 7 8#include "brcm,bcm6328.dtsi" 9 10/ { 11 model = "Comtrend AR-5387un"; 12 compatible = "comtrend,ar5387-un", "brcm,bcm6328"; 13 14 aliases { 15 serial0 = &uart0; 16 }; 17 18 chosen { 19 stdout-path = "serial0:115200n8"; 20 }; 21}; 22 23&ehci { 24 status = "okay"; 25}; 26 27&enet { 28 status = "okay"; 29 30 port@0 { 31 compatible = "brcm,enetsw-port"; 32 reg = <0>; 33 label = "fe1"; 34 brcm,phy-id = <1>; 35 }; 36 37 port@1 { 38 compatible = "brcm,enetsw-port"; 39 reg = <1>; 40 label = "fe2"; 41 brcm,phy-id = <2>; 42 }; 43 44 port@2 { 45 compatible = "brcm,enetsw-port"; 46 reg = <2>; 47 label = "fe3"; 48 brcm,phy-id = <3>; 49 }; 50 51 port@3 { 52 compatible = "brcm,enetsw-port"; 53 reg = <3>; 54 label = "fe4"; 55 brcm,phy-id = <4>; 56 }; 57}; 58 59&leds { 60 status = "okay"; 61 62 led@1 { 63 reg = <1>; 64 label = "AR-5387un:red:inet"; 65 }; 66 67 led@4 { 68 reg = <4>; 69 label = "AR-5387un:red:power"; 70 }; 71 72 led@7 { 73 reg = <7>; 74 label = "AR-5387un:green:inet"; 75 }; 76 77 led@8 { 78 reg = <8>; 79 label = "AR-5387un:green:power"; 80 }; 81 82 led@11 { 83 reg = <11>; 84 active-low; 85 label = "AR-5387un:green:dsl"; 86 }; 87}; 88 89&ohci { 90 status = "okay"; 91}; 92 93&spi { 94 status = "okay"; 95 96 spi-flash@0 { 97 compatible = "spi-flash"; 98 reg = <0>; 99 #address-cells = <1>; 100 #size-cells = <1>; 101 spi-max-frequency = <33333334>; 102 }; 103}; 104 105&uart0 { 106 u-boot,dm-pre-reloc; 107 status = "okay"; 108}; 109 110&usbh { 111 status = "okay"; 112}; 113