Linux Audio

Check our new training course

Loading...
v4.17
 
 1/*
 2 * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
 3 *
 4 * Licensed under the ISC license.
 5 */
 6
 7/dts-v1/;
 8
 9#include "bcm4708.dtsi"
10#include "bcm5301x-nand-cs0-bch8.dtsi"
11
12/ {
13	compatible = "linksys,ea6300-v1", "brcm,bcm4708";
14	model = "Linksys EA6300 V1";
15
16	chosen {
17		bootargs = "console=ttyS0,115200";
18	};
19
20	memory {
 
21		reg = <0x00000000 0x08000000>;
22	};
23
24	gpio-keys {
25		compatible = "gpio-keys";
26		#address-cells = <1>;
27		#size-cells = <0>;
28
29		wps {
30			label = "WPS";
31			linux,code = <KEY_WPS_BUTTON>;
32			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
33		};
34
35		restart {
36			label = "Reset";
37			linux,code = <KEY_RESTART>;
38			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
39		};
40	};
 
 
 
 
41};
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 "bcm4708.dtsi"
 9#include "bcm5301x-nand-cs0-bch8.dtsi"
10
11/ {
12	compatible = "linksys,ea6300-v1", "brcm,bcm4708";
13	model = "Linksys EA6300 V1";
14
15	chosen {
16		bootargs = "console=ttyS0,115200";
17	};
18
19	memory@0 {
20		device_type = "memory";
21		reg = <0x00000000 0x08000000>;
22	};
23
24	gpio-keys {
25		compatible = "gpio-keys";
 
 
26
27		wps {
28			label = "WPS";
29			linux,code = <KEY_WPS_BUTTON>;
30			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
31		};
32
33		restart {
34			label = "Reset";
35			linux,code = <KEY_RESTART>;
36			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
37		};
38	};
39};
40
41&usb3_phy {
42	status = "okay";
43};