]> Git Repo - J-u-boot.git/blob - arch/arm/dts/rk3399-nanopi-r4s.dts
arm64: rk3399: r4s: Remove undesirable MAC address fetching methods for ethernet
[J-u-boot.git] / arch / arm / dts / rk3399-nanopi-r4s.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
4  *
5  * Copyright (c) 2018 FriendlyElec Computer Tech. Co., Ltd.
6  * (http://www.friendlyarm.com)
7  *
8  * Copyright (c) 2018 Collabora Ltd.
9  * Copyright (c) 2019 Arm Ltd.
10  * Copyright (C) 2020 Xiaobo <[email protected]>
11  */
12
13 /dts-v1/;
14 #include "rk3399-nanopi4.dtsi"
15
16 / {
17         model = "FriendlyElec NanoPi R4S";
18         compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
19
20         vdd_5v: vdd-5v {
21                 compatible = "regulator-fixed";
22                 regulator-name = "vdd_5v";
23                 regulator-always-on;
24                 regulator-boot-on;
25         };
26
27         fan: pwm-fan {
28                 compatible = "pwm-fan";
29                 cooling-levels = <0 12 18 255>;
30                 #cooling-cells = <2>;
31                 fan-supply = <&vdd_5v>;
32                 pwms = <&pwm1 0 50000 0>;
33         };
34 };
35
36 &cpu_thermal {
37         trips {
38                 cpu_warm: cpu_warm {
39                         temperature = <55000>;
40                         hysteresis = <2000>;
41                         type = "active";
42                 };
43
44                 cpu_hot: cpu_hot {
45                         temperature = <65000>;
46                         hysteresis = <2000>;
47                         type = "active";
48                 };
49         };
50
51         cooling-maps {
52                 map2 {
53                         trip = <&cpu_warm>;
54                         cooling-device = <&fan THERMAL_NO_LIMIT 1>;
55                 };
56
57                 map3 {
58                         trip = <&cpu_hot>;
59                         cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
60                 };
61         };
62 };
63
64 &emmc_phy {
65         status = "disabled";
66 };
67
68 &fusb0 {
69         status = "disabled";
70 };
71
72 &leds {
73         lan_led: led-1 {
74                 gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
75                 label = "green:lan";
76         };
77
78         wan_led: led-2 {
79                 gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
80                 label = "green:wan";
81         };
82 };
83
84 &leds_gpio {
85         rockchip,pins =
86                 <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,
87                 <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
88 };
89
90 &pcie0 {
91         max-link-speed = <1>;
92         num-lanes = <1>;
93         vpcie3v3-supply = <&vcc3v3_sys>;
94 };
95
96 &sdhci {
97         status = "disabled";
98 };
99
100 &sdio0 {
101         status = "disabled";
102 };
103
104 &u2phy0_host {
105         phy-supply = <&vdd_5v>;
106 };
107
108 &u2phy1_host {
109         status = "disabled";
110 };
111
112 &usbdrd_dwc3_0 {
113         dr_mode = "host";
114 };
115
116 &vcc3v3_sys {
117         vin-supply = <&vcc5v0_sys>;
118 };
This page took 0.036697 seconds and 4 git commands to generate.