Linux Audio

Check our new training course

Yocto / OpenEmbedded training

Mar 24-27, 2025, special US time zones
Register
Loading...
v6.2
 1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 2
 3/dts-v1/;
 4
 5#include "rk3036.dtsi"
 6
 7/ {
 8	model = "Rockchip RK3036 Evaluation board";
 9	compatible = "rockchip,rk3036-evb", "rockchip,rk3036";
10
11	memory@60000000 {
12		device_type = "memory";
13		reg = <0x60000000 0x40000000>;
14	};
15};
16
17&emac {
18	phy = <&phy0>;
19	phy-reset-duration = <10>; /* millisecond */
20	phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
21	pinctrl-names = "default";
22	pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
 
 
 
 
23	status = "okay";
24
25	mdio {
26		#address-cells = <1>;
27		#size-cells = <0>;
28
29		phy0: ethernet-phy@0 {
30			reg = <0>;
31		};
32	};
33};
34
35&i2c1 {
36	status = "okay";
37
38	hym8563: rtc@51 {
39		compatible = "haoyu,hym8563";
40		reg = <0x51>;
41		#clock-cells = <0>;
 
42		clock-output-names = "xin32k";
43	};
44};
45
46&uart2 {
47	status = "okay";
48};
v4.6
 1/*
 2 * This file is dual-licensed: you can use it either under the terms
 3 * of the GPL or the X11 license, at your option. Note that this dual
 4 * licensing only applies to this file, and not this project as a
 5 * whole.
 6 *
 7 *  a) This file is free software; you can redistribute it and/or
 8 *     modify it under the terms of the GNU General Public License as
 9 *     published by the Free Software Foundation; either version 2 of the
10 *     License, or (at your option) any later version.
11 *
12 *     This file is distributed in the hope that it will be useful,
13 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *     GNU General Public License for more details.
16 *
17 *  Or, alternatively,
18 *
19 *  b) Permission is hereby granted, free of charge, to any person
20 *     obtaining a copy of this software and associated documentation
21 *     files (the "Software"), to deal in the Software without
22 *     restriction, including without limitation the rights to use,
23 *     copy, modify, merge, publish, distribute, sublicense, and/or
24 *     sell copies of the Software, and to permit persons to whom the
25 *     Software is furnished to do so, subject to the following
26 *     conditions:
27 *
28 *     The above copyright notice and this permission notice shall be
29 *     included in all copies or substantial portions of the Software.
30 *
31 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38 *     OTHER DEALINGS IN THE SOFTWARE.
39 */
40
41/dts-v1/;
42
43#include "rk3036.dtsi"
44
45/ {
46	model = "Rockchip RK3036 Evaluation board";
47	compatible = "rockchip,rk3036-evb", "rockchip,rk3036";
 
 
 
 
 
48};
49
50&emac {
 
 
 
51	pinctrl-names = "default";
52	pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
53	phy = <&phy0>;
54	phy-reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* PHY_RST */
55	phy-reset-duration = <10>; /* millisecond */
56
57	status = "okay";
58
59	phy0: ethernet-phy@0 {
60		reg = <0>;
 
 
 
 
 
61	};
62};
63
64&i2c1 {
65	status = "okay";
66
67	hym8563: hym8563@51 {
68		compatible = "haoyu,hym8563";
69		reg = <0x51>;
70		#clock-cells = <0>;
71		clock-frequency = <32768>;
72		clock-output-names = "xin32k";
73	};
74};
75
76&uart2 {
77	status = "okay";
78};