arm64: dts: rockchip: add dtsi for nca9539 io expander on rk3588 vehicle EVBV22
Change-Id: Ia3392162363d2a683eca5d852b7e50d1eb5dba24 Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
/ {
|
||||
nca9539_vdd: nca9539-vdd3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "nca9539_vdd";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
startup-delay-us = <20>; // NCA9539 POR
|
||||
vin-supply = <&vcc_3v3_s0>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
clock-frequency = <400000>;
|
||||
status = "okay";
|
||||
|
||||
nca9539_gpio: gpio@74 {
|
||||
status = "okay";
|
||||
compatible = "novo,nca9539-gpio";
|
||||
reg = <0x74>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <16>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
vdd-supply = <&nca9539_vdd>;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user