drivers: ps2: add Zephyr pinctrl support
Replace soc-specific pin functions with Zephyr pinctrl api functions for pin-mux configuration in ps2 driver. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
parent
8f65bdabab
commit
95f6dc6c35
3 changed files with 15 additions and 15 deletions
|
@ -531,7 +531,6 @@
|
|||
ps2_channel0: io_ps2_channel0 {
|
||||
compatible = "nuvoton,npcx-ps2-channel";
|
||||
channel = <0x00>;
|
||||
pinctrl-0 = <&alt3_ps2_0_sl>; /* PIN67.70 */
|
||||
label = "PS2_CHANNEL_0";
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -539,7 +538,6 @@
|
|||
ps2_channel1: io_ps2_channel1 {
|
||||
compatible = "nuvoton,npcx-ps2-channel";
|
||||
channel = <0x01>;
|
||||
pinctrl-0 = <&alt3_ps2_1_sl>; /* PIN62.63 */
|
||||
label = "PS2_CHANNEL_1";
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -547,7 +545,6 @@
|
|||
ps2_channel2: io_ps2_channel2 {
|
||||
compatible = "nuvoton,npcx-ps2-channel";
|
||||
channel = <0x02>;
|
||||
pinctrl-0 = <&alt3_ps2_2_sl>; /* PIN37.34 */
|
||||
label = "PS2_CHANNEL_2";
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -555,7 +552,6 @@
|
|||
ps2_channel3: io_ps2_channel3 {
|
||||
compatible = "nuvoton,npcx-ps2-channel";
|
||||
channel = <0x03>;
|
||||
pinctrl-0 = <&altc_ps2_3_sl2>; /* PINA6.A7 */
|
||||
label = "PS2_CHANNEL_3";
|
||||
status = "disabled";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue