mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
rockchip: enable lcd/pwm-fan for srcm3588
This commit is contained in:
parent
6cbe4f5135
commit
d83c55af85
@ -3,6 +3,7 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include <dt-bindings/pinctrl/rockchip.h>
|
#include <dt-bindings/pinctrl/rockchip.h>
|
||||||
|
#include <dt-bindings/pwm/pwm.h>
|
||||||
#include "rk3588.dtsi"
|
#include "rk3588.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -46,9 +47,11 @@
|
|||||||
|
|
||||||
pwm-fan {
|
pwm-fan {
|
||||||
compatible = "pwm-fan";
|
compatible = "pwm-fan";
|
||||||
cooling-levels = <50 100 150 200 255>;
|
cooling-levels = <100 150 200 255>;
|
||||||
fan-supply = <&vcc12v_dcin>;
|
fan-supply = <&vcc12v_dcin>;
|
||||||
pwms = <&pwm1 0 50000 0>;
|
interrupt-parent = <&gpio1>;
|
||||||
|
interrupts = <RK_PB7 IRQ_TYPE_EDGE_RISING>;
|
||||||
|
pwms = <&pwm1 0 10000 PWM_POLARITY_INVERTED>;
|
||||||
#cooling-cells = <2>;
|
#cooling-cells = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -293,6 +296,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* fspi is unavailable
|
||||||
|
* use i2c instead
|
||||||
|
*/
|
||||||
|
&i2c8 {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c8m1_xfer>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&i2s5_8ch {
|
&i2s5_8ch {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -420,7 +420,7 @@ define Device/seewo_srcm3588-io
|
|||||||
DEVICE_MODEL := 3588 IO Board
|
DEVICE_MODEL := 3588 IO Board
|
||||||
SOC := rk3588
|
SOC := rk3588
|
||||||
UBOOT_DEVICE_NAME := generic-rk3588
|
UBOOT_DEVICE_NAME := generic-rk3588
|
||||||
DEVICE_PACKAGES := kmod-ata-ahci-dwc kmod-r8125-rss kmod-rfkill
|
DEVICE_PACKAGES := kmod-ata-ahci-dwc kmod-hwmon-pwmfan kmod-r8125-rss kmod-rfkill
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += seewo_srcm3588-io
|
TARGET_DEVICES += seewo_srcm3588-io
|
||||||
|
Loading…
Reference in New Issue
Block a user