Commit e39f6c0b67f496443b339cfef89ffa979b1f1420
Committed by
Daniel Schwierzeck
1 parent
465d6971e9
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
mips: bmips: add nb4-ser usb support
Signed-off-by: Ãlvaro Fernández Rojas <noltari@gmail.com>
Showing 2 changed files with 21 additions and 0 deletions Side-by-side Diff
arch/mips/dts/sfr,nb4-ser.dts
... | ... | @@ -50,6 +50,10 @@ |
50 | 50 | }; |
51 | 51 | }; |
52 | 52 | |
53 | +&ehci { | |
54 | + status = "okay"; | |
55 | +}; | |
56 | + | |
53 | 57 | &gpio0 { |
54 | 58 | status = "okay"; |
55 | 59 | }; |
56 | 60 | |
... | ... | @@ -83,12 +87,20 @@ |
83 | 87 | }; |
84 | 88 | }; |
85 | 89 | |
90 | +&ohci { | |
91 | + status = "okay"; | |
92 | +}; | |
93 | + | |
86 | 94 | &pflash { |
87 | 95 | status = "okay"; |
88 | 96 | }; |
89 | 97 | |
90 | 98 | &uart0 { |
91 | 99 | u-boot,dm-pre-reloc; |
100 | + status = "okay"; | |
101 | +}; | |
102 | + | |
103 | +&usbh { | |
92 | 104 | status = "okay"; |
93 | 105 | }; |
configs/sfr_nb4-ser_ram_defconfig
... | ... | @@ -25,6 +25,7 @@ |
25 | 25 | # CONFIG_CMD_CRC32 is not set |
26 | 26 | CONFIG_CMD_MEMINFO=y |
27 | 27 | # CONFIG_CMD_LOADS is not set |
28 | +CONFIG_CMD_USB=y | |
28 | 29 | # CONFIG_CMD_MISC is not set |
29 | 30 | CONFIG_OF_EMBED=y |
30 | 31 | # CONFIG_NET is not set |
31 | 32 | |
... | ... | @@ -37,9 +38,17 @@ |
37 | 38 | CONFIG_MTD=y |
38 | 39 | CONFIG_MTD_NOR_FLASH=y |
39 | 40 | CONFIG_CFI_FLASH=y |
41 | +CONFIG_PHY=y | |
42 | +CONFIG_BCM6358_USBH_PHY=y | |
40 | 43 | CONFIG_DM_RESET=y |
41 | 44 | CONFIG_RESET_BCM6345=y |
42 | 45 | # CONFIG_SPL_SERIAL_PRESENT is not set |
43 | 46 | CONFIG_DM_SERIAL=y |
44 | 47 | CONFIG_BCM6345_SERIAL=y |
48 | +CONFIG_USB=y | |
49 | +CONFIG_DM_USB=y | |
50 | +CONFIG_USB_EHCI_HCD=y | |
51 | +CONFIG_USB_EHCI_GENERIC=y | |
52 | +CONFIG_USB_OHCI_HCD=y | |
53 | +CONFIG_USB_OHCI_GENERIC=y |