Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 2/*
 3 * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
 4 */
 5
 6/dts-v1/;
 7
 8#include "bcm4709.dtsi"
 9#include "bcm5301x-nand-cs0-bch8.dtsi"
10
11/ {
12	compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708";
13	model = "Linksys EA9200";
14
15	chosen {
16		bootargs = "console=ttyS0,115200";
17	};
18
19	memory@0 {
20		device_type = "memory";
21		reg = <0x00000000 0x08000000>,
22		      <0x88000000 0x08000000>;
23	};
24
25	nvram@1c080000 {
26		compatible = "brcm,nvram";
27		reg = <0x1c080000 0x180000>;
28	};
29
30	gpio-keys {
31		compatible = "gpio-keys";
 
 
32
33		button-wps {
34			label = "WPS";
35			linux,code = <KEY_WPS_BUTTON>;
36			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
37		};
38
39		button-restart {
40			label = "Reset";
41			linux,code = <KEY_RESTART>;
42			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
43		};
44	};
45};
46
47&usb3_phy {
48	status = "okay";
49};
v5.9
 1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 2/*
 3 * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
 4 */
 5
 6/dts-v1/;
 7
 8#include "bcm4709.dtsi"
 9#include "bcm5301x-nand-cs0-bch8.dtsi"
10
11/ {
12	compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708";
13	model = "Linksys EA9200";
14
15	chosen {
16		bootargs = "console=ttyS0,115200";
17	};
18
19	memory {
20		device_type = "memory";
21		reg = <0x00000000 0x08000000
22		       0x88000000 0x08000000>;
 
 
 
 
 
23	};
24
25	gpio-keys {
26		compatible = "gpio-keys";
27		#address-cells = <1>;
28		#size-cells = <0>;
29
30		wps {
31			label = "WPS";
32			linux,code = <KEY_WPS_BUTTON>;
33			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
34		};
35
36		restart {
37			label = "Reset";
38			linux,code = <KEY_RESTART>;
39			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
40		};
41	};
42};
43
44&usb3_phy {
45	status = "okay";
46};