bcm47081-asus-rt-n18u.dts revision 279377
1279377Simp/* 2279377Simp * Broadcom BCM470X / BCM5301X ARM platform code. 3279377Simp * DTS for Asus RT-N18U 4279377Simp * 5279377Simp * Copyright (C) 2014 Rafa�� Mi��ecki <zajec5@gmail.com> 6279377Simp * 7279377Simp * Licensed under the GNU/GPL. See COPYING for details. 8279377Simp */ 9279377Simp 10279377Simp/dts-v1/; 11279377Simp 12279377Simp#include "bcm47081.dtsi" 13279377Simp 14279377Simp/ { 15279377Simp compatible = "asus,rt-n18u", "brcm,bcm47081", "brcm,bcm4708"; 16279377Simp model = "Asus RT-N18U (BCM47081)"; 17279377Simp 18279377Simp chosen { 19279377Simp bootargs = "console=ttyS0,115200"; 20279377Simp }; 21279377Simp 22279377Simp memory { 23279377Simp reg = <0x00000000 0x08000000>; 24279377Simp }; 25279377Simp 26279377Simp leds { 27279377Simp compatible = "gpio-leds"; 28279377Simp 29279377Simp power { 30279377Simp label = "bcm53xx:blue:power"; 31279377Simp gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 32279377Simp linux,default-trigger = "default-on"; 33279377Simp }; 34279377Simp 35279377Simp usb2 { 36279377Simp label = "bcm53xx:blue:usb2"; 37279377Simp gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 38279377Simp linux,default-trigger = "default-off"; 39279377Simp }; 40279377Simp 41279377Simp wan { 42279377Simp label = "bcm53xx:blue:wan"; 43279377Simp gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 44279377Simp linux,default-trigger = "default-on"; 45279377Simp }; 46279377Simp 47279377Simp lan { 48279377Simp label = "bcm53xx:blue:lan"; 49279377Simp gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>; 50279377Simp linux,default-trigger = "default-on"; 51279377Simp }; 52279377Simp 53279377Simp usb3 { 54279377Simp label = "bcm53xx:blue:usb3"; 55279377Simp gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 56279377Simp linux,default-trigger = "default-off"; 57279377Simp }; 58279377Simp }; 59279377Simp 60279377Simp gpio-keys { 61279377Simp compatible = "gpio-keys"; 62279377Simp #address-cells = <1>; 63279377Simp #size-cells = <0>; 64279377Simp 65279377Simp restart { 66279377Simp label = "Reset"; 67279377Simp linux,code = <KEY_RESTART>; 68279377Simp gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; 69279377Simp }; 70279377Simp 71279377Simp wps { 72279377Simp label = "WPS"; 73279377Simp linux,code = <KEY_WPS_BUTTON>; 74279377Simp gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 75279377Simp }; 76279377Simp }; 77279377Simp}; 78