Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sunxi-6.6: add NextThing C.H.I.P (PocketChip) initial support #7602

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions config/boards/pocketchip.csc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Allwinner R8(A13) single core 512Mb (NextThing C.H.I.P.)
BOARD_NAME="NextThing C.H.I.P."
BOARDFAMILY="sun5i"
BOARD_MAINTAINER="TheSnowfield"
HAS_VIDEO_OUTPUT="yes"
BOOTCONFIG="CHIP_defconfig"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: TheSnowfield <[email protected]>
Date: Sun, 22 Dec 2024 18:30:42 +0000
Subject: arm:dts:sun5i-r8-chip disable USB OTG to bypass boot hanging
arch/arm/boot/dts/allwinner/sun5i-r8-chip.dts

Signed-off-by: TheSnowfield <[email protected]>
---
arch/arm/boot/dts/allwinner/sun5i-r8-chip.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/allwinner/sun5i-r8-chip.dts b/arch/arm/boot/dts/allwinner/sun5i-r8-chip.dts
index 4192c23848c3..0a1e9cb1535e 100644
--- a/arch/arm/boot/dts/allwinner/sun5i-r8-chip.dts
+++ b/arch/arm/boot/dts/allwinner/sun5i-r8-chip.dts
@@ -273,10 +273,10 @@ &usb_power_supply {
};

&usbphy {
status = "okay";

- usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
- usb0_vbus_power-supply = <&usb_power_supply>;
- usb0_vbus-supply = <&reg_usb0_vbus>;
+ // usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+ // usb0_vbus_power-supply = <&usb_power_supply>;
+ // usb0_vbus-supply = <&reg_usb0_vbus>;
usb1_vbus-supply = <&reg_vcc5v0>;
};
--
Created with Armbian build tools https://github.com/armbian/build

1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.6/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@
patches.armbian/arm-dts-sun8i-r40-add-clk_out_a-fix-bananam2ultra.patch
patches.armbian/arm-dts-sun8i-h3-bananapi-m2-plus-add-wifi_pwrseq.patch
patches.armbian/arm-dts-sun7i-a20-bananapro-add-hdmi-connector-de.patch
patches.armbian/arm-dts-sun5i-r8-pocketchip-disable-usb-otg-to-bypass-boot-hanging.patch
patches.armbian/Correct-perf-interrupt-source-number-as-referenced-in-the-Allwi.patch
patches.armbian/Enable-DMA-support-for-the-Allwinner-A10-EMAC-which-already-exi.patch
patches.armbian/Bananapro-add-AXP209-regulators.patch
Expand Down