/dts-v1/; /plugin/; #include #include #include / { compatible = "radxa,rock-5b"; fragment@0 { target-path = "/"; __overlay__ { vcc12v_dcin: vcc12v-dcin-regulator { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; }; }; }; fragment@1 { target-path = "/"; __overlay__ { ext_fan: ext-fan { compatible = "pwm-fan"; cooling-levels = <0 95 145 195 255>; fan-supply = <&vcc12v_dcin>; pwms = <&pwm12 0 50000 0>; #cooling-cells = <2>; }; }; }; fragment@2 { target = <&pwm12>; __overlay__ { status = "okay"; }; }; };