mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-25 12:37:11 +08:00
ls2k300_Pi:dts:Add node for aht20
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user