1/* 2 * Broadcom BCM470X / BCM5301X ARM platform code. 3 * DTS for Asus RT-N18U 4 * 5 * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com> 6 * 7 * Licensed under the GNU/GPL. See COPYING for details. 8 */ 9 10/dts-v1/; 11 12#include "bcm47081.dtsi" 13 14/ { 15 compatible = "asus,rt-n18u", "brcm,bcm47081", "brcm,bcm4708"; 16 model = "Asus RT-N18U (BCM47081)"; 17 18 chosen { 19 bootargs = "console=ttyS0,115200"; 20 }; 21 22 memory { 23 reg = <0x00000000 0x08000000>; 24 }; 25 26 leds { 27 compatible = "gpio-leds"; 28 29 power { 30 label = "bcm53xx:blue:power"; 31 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 32 linux,default-trigger = "default-on"; 33 }; 34 35 usb2 { 36 label = "bcm53xx:blue:usb2"; 37 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 38 linux,default-trigger = "default-off"; 39 }; 40 41 wan { 42 label = "bcm53xx:blue:wan"; 43 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 44 linux,default-trigger = "default-on"; 45 }; 46 47 lan { 48 label = "bcm53xx:blue:lan"; 49 gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>; 50 linux,default-trigger = "default-on"; 51 }; 52 53 usb3 { 54 label = "bcm53xx:blue:usb3"; 55 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 56 linux,default-trigger = "default-off"; 57 }; 58 }; 59 60 gpio-keys { 61 compatible = "gpio-keys"; 62 #address-cells = <1>; 63 #size-cells = <0>; 64 65 restart { 66 label = "Reset"; 67 linux,code = <KEY_RESTART>; 68 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; 69 }; 70 71 wps { 72 label = "WPS"; 73 linux,code = <KEY_WPS_BUTTON>; 74 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 75 }; 76 }; 77}; 78