Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: BCM5301X: Add DT for Netgear R6300 V2

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

authored by

Rafał Miłecki and committed by
Hauke Mehrtens
302a5ef2 f6f82344

+87 -1
+3 -1
arch/arm/boot/dts/Makefile
··· 54 54 dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.dtb 55 55 dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb 56 56 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb 57 - dtb-$(CONFIG_ARCH_BCM_5301X) += bcm4708-netgear-r6250.dtb 57 + dtb-$(CONFIG_ARCH_BCM_5301X) += \ 58 + bcm4708-netgear-r6250.dtb \ 59 + bcm4708-netgear-r6300-v2.dtb 58 60 dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb 59 61 dtb-$(CONFIG_ARCH_BCM_MOBILE) += bcm28155-ap.dtb \ 60 62 bcm21664-garnet.dtb
+84
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
··· 1 + /* 2 + * Broadcom BCM470X / BCM5301X ARM platform code. 3 + * DTS for Netgear R6300 V2 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 "bcm4708.dtsi" 13 + 14 + / { 15 + compatible = "netgear,r6300v2", "brcm,bcm4708"; 16 + model = "Netgear R6300 V2 (BCM4708)"; 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 + logo { 30 + label = "bcm53xx:white:logo"; 31 + gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 32 + linux,default-trigger = "default-on"; 33 + }; 34 + 35 + power0 { 36 + label = "bcm53xx:green:power"; 37 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 38 + linux,default-trigger = "default-off"; 39 + }; 40 + 41 + power1 { 42 + label = "bcm53xx:amber:power"; 43 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 44 + linux,default-trigger = "default-on"; 45 + }; 46 + 47 + usb { 48 + label = "bcm53xx:blue:usb"; 49 + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 50 + linux,default-trigger = "default-off"; 51 + }; 52 + 53 + wireless { 54 + label = "bcm53xx:blue:wireless"; 55 + gpios = <&chipcommon 11 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 + poll-interval = <200>; 65 + 66 + wps { 67 + label = "WPS"; 68 + linux,code = <KEY_WPS_BUTTON>; 69 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; 70 + }; 71 + 72 + rfkill { 73 + label = "WiFi"; 74 + linux,code = <KEY_RFKILL>; 75 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; 76 + }; 77 + 78 + restart { 79 + label = "Reset"; 80 + linux,code = <KEY_RESTART>; 81 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 82 + }; 83 + }; 84 + };