board: mimx93_evk_a55: enable mfd_adp5585 and adp5585_gpio driver.
Enable ADP5585 as GPIO expander on i.MX93 EVK. - Add dts node for ADP5585 under lpi2c2. - Add gpio-hog for EXP_SEL signal. - Disable lpi2c2 and adp5585 node by default Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
This commit is contained in:
parent
ad2745471c
commit
bb0743def2
1 changed files with 28 additions and 2 deletions
|
@ -83,18 +83,44 @@
|
|||
};
|
||||
|
||||
|
||||
&lpi2c1{
|
||||
&lpi2c1 {
|
||||
status = "disabled";
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&lpi2c2{
|
||||
&lpi2c2 {
|
||||
status = "disabled";
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
pinctrl-0 = <&i2c2_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
mfd0:adp5585@34 {
|
||||
compatible = "adi,adp5585";
|
||||
reg = <0x34>;
|
||||
status = "disabled";
|
||||
|
||||
gpio_exp0: adp5585_gpio {
|
||||
compatible = "adi,adp5585-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <13>;
|
||||
gpio-reserved-ranges = <5 3>;
|
||||
/*
|
||||
* This device has non-contiguous gpio range:
|
||||
* GPIO Pin R0~R4 are gpio0~4
|
||||
* GPIO Pin C0~C4 are gpio8~12
|
||||
*/
|
||||
|
||||
gpiohog_exp_sel: exp-sel-hog {
|
||||
gpio-hog;
|
||||
gpios = <4 GPIO_ACTIVE_HIGH>;
|
||||
line-name = "exp_sel";
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&lpspi3 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue