提交 cf05ea71 编写于 作者: B Bo Shen 提交者: Nicolas Ferre

ARM: at91/dt: at91sam9n12ek: enable udp

Enable usb device port on at91sam9n12ek board.
Signed-off-by: NBo Shen <voice.shen@atmel.com>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 13f7ad3d
...@@ -108,6 +108,13 @@ ...@@ -108,6 +108,13 @@
<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 @@ ...@@ -120,6 +127,13 @@
}; };
}; };
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册