Commit cf05ea71 authored by Bo Shen's avatar Bo Shen Committed by Nicolas Ferre

ARM: at91/dt: at91sam9n12ek: enable udp

Enable usb device port on at91sam9n12ek board.
Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 13f7ad3d
...@@ -108,6 +108,13 @@ pinctrl_pck0_as_audio_mck: pck0_as_audio_mck { ...@@ -108,6 +108,13 @@ pinctrl_pck0_as_audio_mck: pck0_as_audio_mck {
<AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>; <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
}; };
}; };
usb1 {
pinctrl_usb1_vbus_sense: usb1_vbus_sense {
atmel,pins =
<AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB16 gpio usb vbus sense, no pull up and deglitch */
};
};
}; };
spi0: spi@f0000000 { spi0: spi@f0000000 {
...@@ -120,6 +127,13 @@ m25p80@0 { ...@@ -120,6 +127,13 @@ m25p80@0 {
}; };
}; };
usb1: gadget@f803c000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb1_vbus_sense>;
atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
status = "okay";
};
watchdog@fffffe40 { watchdog@fffffe40 {
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment