Skip to content

Commit

Permalink
overlays-12-add-rockpi4cplus-usb-host(:1)
Browse files Browse the repository at this point in the history
Original-Subject: [ARCHEOLOGY] Add Radxa ROCK Pi 4C Plus (#4129)
> X-Git-Archeology: > recovered message: > * Add Rockpi 4C+
> X-Git-Archeology: > recovered message: > * add newer patches:
> X-Git-Archeology: > recovered message: > - apply patches from RadxaNaoki <noaki@radxa.com>
> X-Git-Archeology: > recovered message: > - ref 5652d6f9c2a4e2c50ac1040c0388859381b0616f: arm64: dts: rockchip: add gmac for ROCK 4C+ (torvalds#17)
> X-Git-Archeology: > recovered message: > - apply latest patches from Marcone <marco.nelissen@gmail.com>
> X-Git-Archeology: > recovered message: > - ref e39da181b099a86f5440ed1c08fc699d4a65aed7: arm64: dts: rockchip: Make Rock Pi 4C+ ethernet actually work
> X-Git-Archeology: > recovered message: > - ref 8c519612eeb852268371b3c596eec4622460e5bf: arm64: dts: rockchip: add Rock Pi 4C+ LEDs
> X-Git-Archeology: > recovered message: > - ref 726441afe687ea6059bac37f145ff204b75430f7: arm64: dts: rockchip: enable Rock Pi 4C+ wifi
> X-Git-Archeology: > recovered message: > - ref caad7bef3b5558e2598480c0a0089e2ac3cedcdd: arm64: dts: rockchip: enable Rock Pi 4C+ nvme
> X-Git-Archeology: > recovered message: > - ref 6cdc3215d1691bcd2a407a30e88efa0cec179eb2: arm64: dts: rockchip: enable Rock Pi 4C+ OTG
> X-Git-Archeology: > recovered message: > * default top USB3 port to host mode
> X-Git-Archeology: > recovered message: > * get 2nd HDMI port to work at least. :)
> X-Git-Archeology: > recovered message: > * revert OTG USB3.1 port back to otg mode
> X-Git-Archeology: > recovered message: > * [rockpi4c+] update board def.  add usb host overlay.
> X-Git-Archeology: > recovered message: > * remove redundant HDMI clocks and voltages
> X-Git-Archeology: > recovered message: > * enable test builds for Rock PI 4 C+
> X-Git-Archeology: > recovered message: > * [rockpi4c+] add USB host overlay
> X-Git-Archeology: > recovered message: > Co-authored-by: Joe Khoobyar <fourheads@gmail.com>
> X-Git-Archeology: - Revision 9780da320eeb45832ddb680959646fcc5a6a38c3: armbian/build@9780da3
> X-Git-Archeology:   Date: Wed, 02 Nov 2022 06:58:31 +0100
> X-Git-Archeology:   From: Igor Pecovnik <igorpecovnik@users.noreply.github.com>
> X-Git-Archeology:   Subject: Add Radxa ROCK Pi 4C Plus (#4129)
> X-Git-Archeology: 
> X-Git-Archeology: - Revision 92f1a22d76b987afa7ba555d5b509adc51d689e7: armbian/build@92f1a22
> X-Git-Archeology:   Date: Fri, 16 Dec 2022 13:38:13 +0100
> X-Git-Archeology:   From: Igor Pecovnik <igorpecovnik@users.noreply.github.com>
> X-Git-Archeology:   Subject: Re-add rockchip64 6.0 patches (#4575)
> X-Git-Archeology: 
X-Armbian: Patch-File: overlays-12-add-rockpi4cplus-usb-host
X-Armbian: Patch-File-Counter: 1
X-Armbian: Patch-Rel-Directory: patch/kernel/archive/rockchip64-6.1
X-Armbian: Patch-Type: kernel
X-Armbian: Patch-Root-Type: core
X-Armbian: Patch-Sub-Type: common
X-Armbian: Original-Subject: [ARCHEOLOGY] Add Radxa ROCK Pi 4C Plus (#4129)
  • Loading branch information
igorpecovnik authored and Armbian AutoPatcher committed Nov 2, 2022
1 parent cc87e4c commit 2bb5e50
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-rk3328-opp-1.4ghz.dtbo \
rockchip-rk3328-opp-1.5ghz.dtbo \
rockchip-rk3399-opp-2ghz.dtbo \
rockchip-rockpi4cplus-usb-host.dtbo \
rockchip-spi-jedec-nor.dtbo \
rockchip-spi-spidev.dtbo \
rockchip-uart4.dtbo \
Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ WARNING! Not officially supported by Rockchip!!!
Adds the 2GHz big and 1.5 GHz LITTLE opps for overclocking
WARNING! Not officially supported by Rockchip!!!

### rockpi4cplus-usb-host

Switches the top USB 3.0 port to host mode.
WARNING! Not officially supported by Rockchip!!!

### spi-jedec-nor

Activates MTD support for JEDEC compatible SPI NOR flash chips on SPI bus
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//For RockPI 4C+: Change the top USB3.0 port to host mode

/dts-v1/;
/plugin/;

/ {
compatible = "radxa,rockpi4c-plus", "radxa,rockpi4", "rockchip,rk3399";

fragment@0 {
target = <&usbdrd_dwc3_0>;
__overlay__ {
dr_mode = "host";
};
};
};

0 comments on commit 2bb5e50

Please sign in to comment.