8acf002c17
Also: Fix camera on google-snow. Enable video decoder. Make boot.img smaller making kernel more modular and making FS-related modules =y instead of =m (built-in file systems consume less space than initramfs modules).
57 lines
1.6 KiB
Diff
57 lines
1.6 KiB
Diff
From 067c8e059f0b2dd7c9ee11b612b229e48c35d970 Mon Sep 17 00:00:00 2001
|
|
From: Anton Bambura <jenneron@protonmail.com>
|
|
Date: Fri, 29 Jul 2022 03:25:26 +0300
|
|
Subject: [PATCH] ARM: dts: exynos: snow: add usb hub
|
|
|
|
This device has a USB Hub which camera and modem are connected to.
|
|
Add support for it.
|
|
|
|
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
|
---
|
|
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 23 +++++++++++++++++++
|
|
1 file changed, 23 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
|
index 96a5e1b24..404ad8d53 100644
|
|
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
|
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
|
@@ -81,6 +81,22 @@ i2c_104: i2c@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
+ usb-hub@8 {
|
|
+ compatible = "smsc,usb3503a";
|
|
+ reg = <0x08>;
|
|
+
|
|
+ reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
|
|
+ disabled-ports = <3>;
|
|
+ initial-mode = <1>;
|
|
+
|
|
+ clock-names = "refclk";
|
|
+ clocks = <&pmu_system_controller 0>;
|
|
+ refclk-frequency = <24000000>;
|
|
+
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&usb_hub_reset>;
|
|
+ };
|
|
+
|
|
battery: sbs-battery@b {
|
|
compatible = "sbs,sbs-battery";
|
|
reg = <0xb>;
|
|
@@ -704,6 +720,13 @@ arb_our_claim: arb-our-claim-pins {
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
|
};
|
|
+
|
|
+ usb_hub_reset: usb-hub-reset-pins {
|
|
+ samsung,pins = "gpe1-0";
|
|
+ samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
+ samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
|
+ };
|
|
};
|
|
|
|
&pmu_system_controller {
|
|
--
|
|
2.36.1
|
|
|