&adc {
status = "okay";
key: key {
compatible = "rockchip,key";
io-channels = <&adc 1>;
vol-up-key {
linux,code = <115>;
label = "volume up";
rockchip,adc_value = <523>;
};
vol-down-key {
linux,code = <114>;
label = "volume down";
rockchip,adc_value = <727>;
};
};
};
&i2c0 {
status = "okay";
rtc@51 {
compatible = "rtc,hym8563";
reg = <0x51>;
};
};
rk3128 android7.1 adc && rtc 配置
最新推荐文章于 2023-06-16 17:17:33 发布