Linux Audio

Check our new training course

Loading...
v5.4
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
 4 *
 5 * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
 
 
 6 */
 7
 8/dts-v1/;
 9#include "ox820.dtsi"
10
11/ {
12	model = "Cloud Engines PogoPlug Series 3";
13
14	compatible = "cloudengines,pogoplugv3", "oxsemi,ox820";
15
16	chosen {
17		bootargs = "earlyprintk";
18		stdout-path = "serial0:115200n8";
19	};
20
21	memory {
22		/* 128Mbytes DDR */
23		reg = <0x60000000 0x8000000>;
24	};
25
26	aliases {
27		serial0 = &uart0;
28		gpio0 = &gpio0;
29		gpio1 = &gpio1;
30	};
31
32	leds {
33		compatible = "gpio-leds";
34
35		blue {
36			label = "pogoplug:blue";
37			gpios = <&gpio0 2 0>;
38			default-state = "keep";
39		};
40
41		orange {
42			label = "pogoplug:orange";
43			gpios = <&gpio1 16 1>;
44			default-state = "keep";
45		};
46
47		green {
48			label = "pogoplug:green";
49			gpios = <&gpio1 17 1>;
50			default-state = "keep";
51		};
52	};
53};
54
55&uart0 {
56	status = "okay";
57
58	pinctrl-names = "default";
59	pinctrl-0 = <&pinctrl_uart0>;
60};
61
62&nandc {
63	status = "okay";
64
65	pinctrl-names = "default";
66	pinctrl-0 = <&pinctrl_nand>;
67
68	nand@0 {
69		reg = <0>;
70		#address-cells = <1>;
71		#size-cells = <1>;
72		nand-ecc-mode = "soft";
73		nand-ecc-algo = "hamming";
74
75		partition@0 {
76			label = "boot";
77			reg = <0x00000000 0x00e00000>;
78			read-only;
79		};
80
81		partition@e00000 {
82			label = "ubi";
83			reg = <0x00e00000 0x07200000>;
84		};
85	};
86};
87
88&etha {
89	status = "okay";
90
91	pinctrl-names = "default";
92	pinctrl-0 = <&pinctrl_etha_mdio>;
93};
v4.17
 
 1/*
 2 * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
 3 *
 4 * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
 5 *
 6 * Licensed under GPLv2 or later
 7 */
 8
 9/dts-v1/;
10#include "ox820.dtsi"
11
12/ {
13	model = "Cloud Engines PogoPlug Series 3";
14
15	compatible = "cloudengines,pogoplugv3", "oxsemi,ox820";
16
17	chosen {
18		bootargs = "earlyprintk";
19		stdout-path = "serial0:115200n8";
20	};
21
22	memory {
23		/* 128Mbytes DDR */
24		reg = <0x60000000 0x8000000>;
25	};
26
27	aliases {
28		serial0 = &uart0;
29		gpio0 = &gpio0;
30		gpio1 = &gpio1;
31	};
32
33	leds {
34		compatible = "gpio-leds";
35
36		blue {
37			label = "pogoplug:blue";
38			gpios = <&gpio0 2 0>;
39			default-state = "keep";
40		};
41
42		orange {
43			label = "pogoplug:orange";
44			gpios = <&gpio1 16 1>;
45			default-state = "keep";
46		};
47
48		green {
49			label = "pogoplug:green";
50			gpios = <&gpio1 17 1>;
51			default-state = "keep";
52		};
53	};
54};
55
56&uart0 {
57	status = "okay";
58
59	pinctrl-names = "default";
60	pinctrl-0 = <&pinctrl_uart0>;
61};
62
63&nandc {
64	status = "okay";
65
66	pinctrl-names = "default";
67	pinctrl-0 = <&pinctrl_nand>;
68
69	nand@0 {
70		reg = <0>;
71		#address-cells = <1>;
72		#size-cells = <1>;
73		nand-ecc-mode = "soft";
74		nand-ecc-algo = "hamming";
75
76		partition@0 {
77			label = "boot";
78			reg = <0x00000000 0x00e00000>;
79			read-only;
80		};
81
82		partition@e00000 {
83			label = "ubi";
84			reg = <0x00e00000 0x07200000>;
85		};
86	};
87};
88
89&etha {
90	status = "okay";
91
92	pinctrl-names = "default";
93	pinctrl-0 = <&pinctrl_etha_mdio>;
94};