boards: adi_sdp_k1: add usb cdc support
This adds support for the usb cdc on the k1 board Tested using samples/subsys/usb/cdc_acm Co-developed-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Philip Molloy <pmolloy@baylibre.com>
This commit is contained in:
parent
11e50e750e
commit
7726f27bc1
|
@ -41,6 +41,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
otghs_ulpi_phy: otghs_ulpis_phy {
|
||||
compatible = "usb-ulpi-phy";
|
||||
reset-gpios = <&gpiod 7 (GPIO_ACTIVE_LOW)>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
|
||||
aliases {
|
||||
led0 = &status_led;
|
||||
};
|
||||
|
@ -78,3 +84,25 @@
|
|||
current-speed = <115200>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
zephyr_udc0: &usbotg_hs {
|
||||
pinctrl-0 = <&usb_otg_hs_ulpi_ck_pa5
|
||||
&usb_otg_hs_ulpi_d0_pa3
|
||||
&usb_otg_hs_ulpi_d1_pb0
|
||||
&usb_otg_hs_ulpi_d2_pb1
|
||||
&usb_otg_hs_ulpi_d3_pb10
|
||||
&usb_otg_hs_ulpi_d4_pb11
|
||||
&usb_otg_hs_ulpi_d5_pb12
|
||||
&usb_otg_hs_ulpi_d6_pb13
|
||||
&usb_otg_hs_ulpi_d7_pb5
|
||||
&usb_otg_hs_ulpi_stp_pc0
|
||||
&usb_otg_hs_ulpi_dir_pc2
|
||||
&usb_otg_hs_ulpi_nxt_pc3>;
|
||||
pinctrl-names = "default";
|
||||
maximum-speed = "high-speed";
|
||||
/* Enable OTGHSULPIEN rather than OTGHSEN */
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x60000000>,
|
||||
<&rcc STM32_SRC_PLL_Q NO_SEL>;
|
||||
phys = <&otghs_ulpi_phy>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue