ls2k300_Pi:dts:Add node for aht20

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
maoxiaochuan
2026-02-04 16:38:56 +08:00
parent 123845389c
commit d1e8fab20f
@@ -7,6 +7,17 @@
#include "ls2k300_vanguard_pi_common.dtsi"
/ {
vdd_3v3: fixed-regulator {
compatible = "regulator-fixed";
regulator-name = "vdd-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
status = "okay";
};
};
&uart2 {
status = "ok"
};
@@ -61,15 +72,21 @@
&i2c1 {
i2c-speed = <400000>;
bh1750@23 {
bh1750: ambient-light-sensor@23 {
compatible = "rohm,bh1750";
reg = <0x23>;
};
bl24c32a@50 {
bl24c32a: eeprom@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
aht20: temperature-humidity-sensor@38 {
compatible = "asair,aht20";
reg = <0x38>;
vdd-supply = <&vdd_3v3>;
};
};
&i2c2 {