Linux Audio

Check our new training course

Yocto / OpenEmbedded training

Feb 10-13, 2025
Register
Loading...
Note: File does not exist in v6.8.
 1/*
 2 * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
 3 *
 4 * Licensed under the ISC license.
 5 */
 6
 7/dts-v1/;
 8
 9#include "bcm47094.dtsi"
10#include "bcm5301x-nand-cs0-bch8.dtsi"
11
12/ {
13	compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708";
14	model = "Netgear R8500";
15
16	chosen {
17		bootargs = "console=ttyS0,115200";
18	};
19
20	memory {
21		reg = <0x00000000 0x08000000
22		       0x88000000 0x18000000>;
23	};
24
25	leds {
26		compatible = "gpio-leds";
27
28		power0 {
29			label = "bcm53xx:white:power";
30			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
31			linux,default-trigger = "default-on";
32		};
33
34		power1 {
35			label = "bcm53xx:amber:power";
36			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
37		};
38
39		5ghz-1 {
40			label = "bcm53xx:white:5ghz-1";
41			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
42		};
43
44		5ghz-2 {
45			label = "bcm53xx:white:5ghz-2";
46			gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
47		};
48
49		2ghz {
50			label = "bcm53xx:white:2ghz";
51			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
52		};
53
54		usb2 {
55			label = "bcm53xx:white:usb2";
56			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
57		};
58
59		usb3 {
60			label = "bcm53xx:white:usb3";
61			gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
62		};
63	};
64
65	gpio-keys {
66		compatible = "gpio-keys";
67		#address-cells = <1>;
68		#size-cells = <0>;
69
70		brightness {
71			label = "Backlight";
72			linux,code = <KEY_BRIGHTNESS_ZERO>;
73			gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
74		};
75
76		restart {
77			label = "Reset";
78			linux,code = <KEY_RESTART>;
79			gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
80		};
81
82		wps {
83			label = "WPS";
84			linux,code = <KEY_WPS_BUTTON>;
85			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
86		};
87
88		rfkill {
89			label = "WiFi";
90			linux,code = <KEY_RFKILL>;
91			gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
92		};
93	};
94};