File tree 1 file changed +44
-0
lines changed
arch/arm64/boot/dts/rockchip
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 112
112
status = "okay";
113
113
};
114
114
115
+ &i2c0 {
116
+ status = "okay";
117
+ pinctrl-name = "default";
118
+ pinctrl-0 = <&i2c0_xfer>;
119
+ #address-cells = <1>;
120
+ #size-cells = <0>;
121
+
122
+ emc2301: emc2301@2f {
123
+ status = "okay";
124
+ compatible = "microchip,emc2301";
125
+ reg = <0x2f>;
126
+ #address-cells = <1>;
127
+ #size-cells = <0>;
128
+ microchip,pwm-separate;
129
+ microchip,cooling-levels = <10>;
130
+ channel@0 {
131
+ reg = <0>;
132
+ pwm-min = <0>;
133
+ };
134
+ };
135
+ };
136
+
137
+ &threshold {
138
+ temperature = <60000>;
139
+ };
140
+
141
+ &soc_thermal {
142
+ cooling-maps {
143
+ sustainable-power = <5000>; /* milliwatts */
144
+ map2 {
145
+ trip = <&target>;
146
+ cooling-device =
147
+ <&emc2301 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
148
+ contribution = <8192>;
149
+ };
150
+ map3 {
151
+ trip = <&threshold>;
152
+ cooling-device =
153
+ <&emc2301 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
154
+ contribution = <8192>;
155
+ };
156
+ };
157
+ };
158
+
115
159
&pinctrl {
116
160
leds {
117
161
pi_led: pi-led {
You can’t perform that action at this time.
0 commit comments