ARM: sunxi: Convert pinctrl nodes to generic bindings
Now that we can handle the generic pinctrl bindings, convert our DT to it. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -168,26 +168,26 @@
|
||||
|
||||
&pio {
|
||||
ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
|
||||
allwinner,pins = "PC3";
|
||||
allwinner,function = "gpio_out";
|
||||
pins = "PC3";
|
||||
function = "gpio_out";
|
||||
};
|
||||
|
||||
led_pins_olinuxinolime: led_pins@0 {
|
||||
allwinner,pins = "PH2";
|
||||
allwinner,function = "gpio_out";
|
||||
allwinner,drive = <SUN4I_PINCTRL_20_MA>;
|
||||
pins = "PH2";
|
||||
function = "gpio_out";
|
||||
drive-strength = <20>;
|
||||
};
|
||||
|
||||
usb0_id_detect_pin: usb0_id_detect_pin@0 {
|
||||
allwinner,pins = "PH4";
|
||||
allwinner,function = "gpio_in";
|
||||
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
|
||||
pins = "PH4";
|
||||
function = "gpio_in";
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
|
||||
allwinner,pins = "PH5";
|
||||
allwinner,function = "gpio_in";
|
||||
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
|
||||
pins = "PH5";
|
||||
function = "gpio_in";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user