/* cooling level (0, 1, 2) : (0% duty, 50% duty, 100% duty) */
cooling-levels = <0 128 255>;
pwms = <&pwm 1 40000 0>;
-
- status = "okay";
};
};
};
&mdio_bus {
- #address-cells = <1>;
- #size-cells = <0>;
reset-gpios = <&pio 72 GPIO_ACTIVE_LOW>;
reset-assert-us = <100000>;
reset-deassert-us = <100000>;
};
};
-&serial1 {
+&pwm {
status = "okay";
};
-&pwm {
+&serial1 {
status = "okay";
};
interrupt-parent = <&pio>;
interrupts = <21 IRQ_TYPE_EDGE_FALLING>;
pulses-per-revolution = <2>;
-
- status = "okay";
};
};
groups = "uart2";
};
};
-
-
};
&pwm {
compatible = "spi-nand";
reg = <0>;
spi-max-frequency = <52000000>;
- spi-tx-buswidth = <4>;
- spi-rx-buswidth = <4>;
+ spi-tx-bus-width = <4>;
+ spi-rx-bus-width = <4>;
};
-
};
&ssusb0 {
};
};
+ fan: pwm-fan {
+ compatible = "pwm-fan";
+ /* cooling level (0, 1, 2, 3) : (0% duty, 30% duty, 50% duty, 100% duty) */
+ cooling-levels = <0 80 128 255>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins>;
+ pwms = <&pwm 0 50000>;
+ #cooling-cells = <2>;
+ #thermal-sensor-cells = <1>;
+ };
+
reg_1p8v: regulator-1p8v {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
groups = "spi0", "spi0_wp_hold";
};
};
-
- fan: pwm-fan {
- compatible = "pwm-fan";
- pinctrl-names = "default";
- pinctrl-0 = <&pwm0_pins>;
- pwms = <&pwm 0 50000>;
- /* cooling level (0, 1, 2, 3) : (0% duty, 30% duty, 50% duty, 100% duty) */
- cooling-levels = <0 80 128 255>;
- #cooling-cells = <2>;
- #thermal-sensor-cells = <1>;
-
- status = "okay";
- };
};
&pwm {