1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com> 4 */ 5 6/dts-v1/; 7 8#include "brcm,bcm6318.dtsi" 9 10/ { 11 model = "Comtrend AR-5315u"; 12 compatible = "comtrend,ar5315-un", "brcm,bcm6318"; 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&leds { 28 status = "okay"; 29 30 led@0 { 31 reg = <0>; 32 active-low; 33 label = "AR-5315u:green:wps"; 34 }; 35 36 led@1 { 37 reg = <1>; 38 active-low; 39 label = "AR-5315u:green:power"; 40 }; 41 42 led@2 { 43 reg = <2>; 44 active-low; 45 label = "AR-5315u:green:usb"; 46 }; 47 48 led@8 { 49 reg = <8>; 50 active-low; 51 label = "AR-5315u:green:inet"; 52 }; 53 54 led@9 { 55 reg = <9>; 56 active-low; 57 label = "AR-5315u:red:inet"; 58 }; 59 60 led@10 { 61 reg = <10>; 62 active-low; 63 label = "AR-5315u:green:dsl"; 64 }; 65 66 led@11 { 67 reg = <11>; 68 active-low; 69 label = "AR-5315u:red:power"; 70 }; 71}; 72 73&ohci { 74 status = "okay"; 75}; 76 77&spi { 78 status = "okay"; 79 80 spi-flash@0 { 81 compatible = "spi-flash"; 82 reg = <0>; 83 #address-cells = <1>; 84 #size-cells = <1>; 85 spi-max-frequency = <62500000>; 86 }; 87}; 88 89&uart0 { 90 u-boot,dm-pre-reloc; 91 status = "okay"; 92}; 93 94&usbh { 95 status = "okay"; 96}; 97