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

ARM: BCM5301X: Add DT for Buffalo WZR-1750DHP

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
e336a14d 302a5ef2

+65
+1
arch/arm/boot/dts/Makefile
··· 55 55 dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb 56 56 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb 57 57 dtb-$(CONFIG_ARCH_BCM_5301X) += \ 58 + bcm4708-buffalo-wzr-1750dhp.dtb \ 58 59 bcm4708-netgear-r6250.dtb \ 59 60 bcm4708-netgear-r6300-v2.dtb 60 61 dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb
+64
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
··· 1 + /* 2 + * Broadcom BCM470X / BCM5301X ARM platform code. 3 + * DTS for Buffalo WZR-1750DHP 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 = "buffalo,wzr-1750dhp", "brcm,bcm4708"; 16 + model = "Buffalo WZR-1750DHP (BCM4708)"; 17 + 18 + chosen { 19 + bootargs = "console=ttyS0,115200"; 20 + }; 21 + 22 + memory { 23 + reg = <0x00000000 0x08000000>; 24 + }; 25 + 26 + gpio-keys { 27 + compatible = "gpio-keys"; 28 + #address-cells = <1>; 29 + #size-cells = <0>; 30 + poll-interval = <200>; 31 + 32 + restart { 33 + label = "Reset"; 34 + linux,code = <KEY_RESTART>; 35 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 36 + }; 37 + 38 + aoss { 39 + label = "AOSS"; 40 + linux,code = <KEY_WPS_BUTTON>; 41 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; 42 + }; 43 + 44 + /* Commit mode set by switch? */ 45 + mode { 46 + label = "Mode"; 47 + linux,code = <KEY_SETUP>; 48 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 49 + }; 50 + 51 + /* Switch: AP mode */ 52 + sw_ap { 53 + label = "AP"; 54 + linux,code = <BTN_0>; 55 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 56 + }; 57 + 58 + eject { 59 + label = "USB eject"; 60 + linux,code = <KEY_EJECTCD>; 61 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; 62 + }; 63 + }; 64 + };