linux-postmarketos-marvell: upgrade to 6.18.2 and add mmp3/dell-ariel
specifics Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7605>
This commit is contained in:
parent
7d4988813c
commit
e3da7a4e45
4 changed files with 3104 additions and 82 deletions
|
|
@ -0,0 +1,438 @@
|
|||
From 2caaedcd9944e42e4ea3a3eeefc867062d9612d3 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Eckelmann <longnoserob@gmail.com>
|
||||
Date: Thu, 18 Dec 2025 22:37:45 +0900
|
||||
Subject: [PATCH 1/2] dts/marvell/mmp3-dell-ariel: import dts from linux-mmp
|
||||
|
||||
while linux-mmp project got not updated since 5.8, it still has a
|
||||
dts for dell-ariel with more hw support.
|
||||
|
||||
first try to get this working on mainline again..
|
||||
|
||||
Signed-off-by: Robert Eckelmann <longnoserob@gmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/marvell/mmp3-dell-ariel.dts | 331 +++++++++++++++++-
|
||||
1 file changed, 321 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/marvell/mmp3-dell-ariel.dts b/arch/arm/boot/dts/marvell/mmp3-dell-ariel.dts
|
||||
index fe6df364a..325d0ccd3 100644
|
||||
--- a/arch/arm/boot/dts/marvell/mmp3-dell-ariel.dts
|
||||
+++ b/arch/arm/boot/dts/marvell/mmp3-dell-ariel.dts
|
||||
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* Dell Wyse 3020 a.k.a. "Ariel" a.k.a. Tx0D (T00D, T10D)
|
||||
*
|
||||
- * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk>
|
||||
+ * Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
@@ -22,7 +22,8 @@ chosen {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x1>;
|
||||
ranges;
|
||||
- bootargs = "earlyprintk=ttyS2,115200 console=ttyS2,115200";
|
||||
+ bootargs = "console=tty0 earlyprintk=ttyS2,115200 console=ttyS2,115200 root=/dev/sda3 fbcon=nodefer rootwait lockless_register_fb no_console_suspend";
|
||||
+ /* bootargs = "console=tty0 earlyprintk=ttyS2,115200 console=ttyS2,115200 root=/dev/sda3 fbcon=nodefer rootwait debug ignore_loglevel drm.debug=65535"; */
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
@@ -31,20 +32,69 @@ memory@0 {
|
||||
device_type = "memory";
|
||||
};
|
||||
|
||||
- ec_input_spi: spi {
|
||||
- compatible = "spi-gpio";
|
||||
+ reserved-memory {
|
||||
#address-cells = <1>;
|
||||
- #size-cells = <0>;
|
||||
+ #size-cells = <1>;
|
||||
+ ranges;
|
||||
+
|
||||
+ display_reserved: framebuffer {
|
||||
+ compatible = "marvell,mmp2-framebuffer",
|
||||
+ "marvell,armada-framebuffer";
|
||||
+ size = <0x02000000>;
|
||||
+ alignment = <0x02000000>;
|
||||
+ no-map;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ dvi-connector-0 {
|
||||
+ compatible = "dvi-connector";
|
||||
+ ddc-i2c-bus = <&twsi5>;
|
||||
+ hpd-gpios = <&gpio 62 GPIO_ACTIVE_LOW>;
|
||||
+ digital;
|
||||
+ analog;
|
||||
+
|
||||
+ port {
|
||||
+ dvi0_in: endpoint {
|
||||
+ remote-endpoint = <&encoder_out>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ dvi-connector-1 {
|
||||
+ compatible = "dvi-connector";
|
||||
+ ddc-i2c-bus = <&twsi6>;
|
||||
+ hpd-gpios = <&gpio 59 GPIO_ACTIVE_LOW>;
|
||||
+ digital;
|
||||
+
|
||||
+ port {
|
||||
+ dvi1_in: endpoint {
|
||||
+ remote-endpoint = <&hdmi0_out>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
|
||||
- num-chipselects = <0>;
|
||||
- sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>;
|
||||
- miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
|
||||
- mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
|
||||
+ sound-card {
|
||||
+ compatible = "audio-graph-card";
|
||||
+ label = "Dell Ariel";
|
||||
+ dais = <&sspa0_dai>;
|
||||
+ routing = "Headphones", "HPL",
|
||||
+ "Headphones", "HPR",
|
||||
+ "Speaker External", "SPKLN",
|
||||
+ "Speaker External", "SPKLP",
|
||||
+ "Speaker External", "SPKRN",
|
||||
+ "Speaker External", "SPKRP",
|
||||
+ "MIC1N", "Mic Jack",
|
||||
+ "MIC1P", "Mic Jack";
|
||||
+ widgets = "Headphone", "Headphones",
|
||||
+ "Speaker", "Speaker External",
|
||||
+ "Microphone", "Mic Jack";
|
||||
};
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart3_pins>;
|
||||
};
|
||||
|
||||
&rtc {
|
||||
@@ -83,6 +133,8 @@ &hsic_phy0 {
|
||||
|
||||
&mmc3 {
|
||||
status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&mmc3_pins>;
|
||||
max-frequency = <50000000>;
|
||||
status = "okay";
|
||||
bus-width = <8>;
|
||||
@@ -92,20 +144,76 @@ &mmc3 {
|
||||
|
||||
&twsi1 {
|
||||
status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&twsi1_pins>;
|
||||
|
||||
rtc@68 {
|
||||
compatible = "dallas,ds1338";
|
||||
reg = <0x68>;
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+ regulator@19 {
|
||||
+ compatible = "marvell,88pg867";
|
||||
+ reg = <0x19>;
|
||||
+
|
||||
+ vcpu: buck1 {
|
||||
+ regulator-name = "vdd_1v8";
|
||||
+ regulator-min-microvolt = <1800000>;
|
||||
+ regulator-max-microvolt = <1800000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
|
||||
&twsi3 {
|
||||
status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&twsi3_pins>;
|
||||
+
|
||||
+ vga-dvi-encoder@76 {
|
||||
+ compatible = "chrontel,ch7033";
|
||||
+ reg = <0x76>;
|
||||
+
|
||||
+ ports {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ port@0 {
|
||||
+ reg = <0>;
|
||||
+ encoder_in: endpoint {
|
||||
+ remote-endpoint = <&lcd0_out>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ port@1 {
|
||||
+ reg = <1>;
|
||||
+ encoder_out: endpoint {
|
||||
+ remote-endpoint = <&dvi0_in>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ audio-codec@30 {
|
||||
+ compatible = "marvell,88ce156";
|
||||
+ reg = <0x30>;
|
||||
+
|
||||
+ port {
|
||||
+ ce156_0: endpoint {
|
||||
+ mclk-fs = <256>;
|
||||
+ clocks = <&audio_clk 0>;
|
||||
+ remote-endpoint = <&sspa0_0>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
|
||||
&twsi4 {
|
||||
status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&twsi4_pins>;
|
||||
|
||||
embedded-controller@58 {
|
||||
compatible = "dell,wyse-ariel-ec", "ene,kb3930";
|
||||
@@ -117,8 +225,36 @@ embedded-controller@58 {
|
||||
};
|
||||
};
|
||||
|
||||
+&twsi5 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&twsi6 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&twsi6 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&twsi6_pins>;
|
||||
+};
|
||||
+
|
||||
+&lcd0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&lcd0_out {
|
||||
+ remote-endpoint = <&encoder_in>;
|
||||
+};
|
||||
+
|
||||
+&hdmi0_out {
|
||||
+ remote-endpoint = <&dvi1_in>;
|
||||
+};
|
||||
+
|
||||
&ssp1 {
|
||||
status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&ssp1_pins>;
|
||||
cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
|
||||
|
||||
firmware-flash@0 {
|
||||
@@ -129,9 +265,11 @@ firmware-flash@0 {
|
||||
};
|
||||
};
|
||||
|
||||
-&ec_input_spi {
|
||||
+&ssp2 {
|
||||
status = "okay";
|
||||
cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&ssp2_pins>;
|
||||
|
||||
power-button@0 {
|
||||
reg = <0>;
|
||||
@@ -142,6 +280,33 @@ power-button@0 {
|
||||
};
|
||||
};
|
||||
|
||||
+&asram {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&adma0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&audio_clk {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&sspa0 {
|
||||
+ status = "okay";
|
||||
+ dmas = <&adma0 0>, <&adma0 1>;
|
||||
+ dma-names = "tx", "rx";
|
||||
+
|
||||
+ sspa0_dai: port {
|
||||
+ sspa0_0: endpoint {
|
||||
+ remote-endpoint = <&ce156_0>;
|
||||
+ frame-master;
|
||||
+ bitclock-master;
|
||||
+ dai-format = "i2s";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&gpu_2d {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -149,3 +314,149 @@ &gpu_2d {
|
||||
&gpu_3d {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&pinctrl {
|
||||
+/*
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&my_lovely_pins>;
|
||||
+
|
||||
+ my_lovely_pins: pinmux_my_lovely_pins {
|
||||
+ pinctrl-single,pins =
|
||||
+ // I2S on GPIO24-GPIO28
|
||||
+ // /* SSPA1 (I2S) /
|
||||
+ // GPIO25_I2S_BITCLK,
|
||||
+ // GPIO26_I2S_SYNC,
|
||||
+ // GPIO27_I2S_DATA_OUT,
|
||||
+ // GPIO28_I2S_SDATA_IN,
|
||||
+ <0x0b4 1>, <0x0b8 1>, <0x0bc 1>, <0x0c0 1>, <0x0c4 1>,
|
||||
+ // I2S on GPIO33-GPIO36
|
||||
+ <0x0d8 2>, <0x0dc 2>, <0x0e0 2>, <0x0e4 2>,
|
||||
+ // GPIO on GPIO156-GPIO159 instead of JTAG (doesn't work, stays on 0x000090C0)
|
||||
+ <0x14c 1>, <0x150 1>, <0x154 1>, <0x158 1>;
|
||||
+ };
|
||||
+*/
|
||||
+
|
||||
+ uart3_pins: uart3-pins {
|
||||
+ pins = "gpio_51", "gpio_52";
|
||||
+ function = "uart3";
|
||||
+ slew-rate = <2>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ mmc3_pins: mmc3-pins {
|
||||
+ pins = "nd_io10", "nd_io11", "nd_io12", "nd_io13",
|
||||
+ "nd_io14", "nd_io15", "nd_io8", "nd_io9",
|
||||
+ "sm_ncs0", "sm_ncs1";
|
||||
+ function = "mmc3";
|
||||
+ slew-rate = <2>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ twsi1_pins: twsi1-pins {
|
||||
+ pins = "twsi1_scl", "twsi1_sda";
|
||||
+ XXX-TWSI;
|
||||
+ bias-pull-up;
|
||||
+ slew-rate = <2>;
|
||||
+ marvell,sleep-input;
|
||||
+ };
|
||||
+
|
||||
+ twsi3_pins: twsi3-pins {
|
||||
+ pins = "gpio_71", "gpio_72";
|
||||
+ function = "twsi3";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ twsi4_pins: twsi4-pins {
|
||||
+ pins = "twsi4_scl", "twsi4_sda";
|
||||
+ function = "twsi4";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ twsi5_pins: twsi5-pins {
|
||||
+ pins = "gpio_41", "gpio_42";
|
||||
+ function = "twsi5";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ twsi6_pins: twsi6-pins {
|
||||
+ pins = "gpio_47", "gpio_48";
|
||||
+ function = "twsi6";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ lcd_pins: lcd-pins {
|
||||
+ lcd-fclk-pins {
|
||||
+ pins = "gpio_74";
|
||||
+ function = "lcd";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ lcd-lclk-pins {
|
||||
+ pins = "gpio_75";
|
||||
+ function = "lcd";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ lcd-pclk-pins {
|
||||
+ pins = "gpio_76";
|
||||
+ function = "lcd";
|
||||
+ bias-pull-up;
|
||||
+ slew-rate = <3>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ lcd-dena-pins {
|
||||
+ pins = "gpio_77";
|
||||
+ function = "lcd";
|
||||
+ slew-rate = <1>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ lcd-data-pins {
|
||||
+ pins = "gpio_100", "gpio_101", "gpio_78", "gpio_79",
|
||||
+ "gpio_80", "gpio_81", "gpio_82", "gpio_83",
|
||||
+ "gpio_84", "gpio_85", "gpio_86", "gpio_87",
|
||||
+ "gpio_88", "gpio_89", "gpio_90", "gpio_91",
|
||||
+ "gpio_92", "gpio_93", "gpio_94", "gpio_95",
|
||||
+ "gpio_96", "gpio_97", "gpio_98", "gpio_99";
|
||||
+ function = "lcd";
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ slew-rate = <1>;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ ssp1_pins: ssp1-pins {
|
||||
+ pins = "gpio_45", "gpio_44", "gpio_43";
|
||||
+ function = "ssp1";
|
||||
+ slew-rate = <2>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ bias-pull-up;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+
|
||||
+ ssp2_pins: ssp2-pins {
|
||||
+ pins = "gpio_58", "gpio_57", "gpio_55";
|
||||
+ function = "ssp2";
|
||||
+ slew-rate = <2>;
|
||||
+ marvell,sleep-output = <0>;
|
||||
+ bias-pull-up;
|
||||
+ // WKE_0;
|
||||
+ };
|
||||
+};
|
||||
--
|
||||
2.52.0
|
||||
|
||||
|
|
@ -0,0 +1,304 @@
|
|||
From 0c2320c358d8642015abcc5dccc8dc2b70549a64 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Eckelmann <longnoserob@gmail.com>
|
||||
Date: Fri, 19 Dec 2025 22:50:40 +0900
|
||||
Subject: [PATCH 2/2] dts/marvell/mmp3: add changes
|
||||
|
||||
Signed-off-by: Robert Eckelmann <longnoserob@gmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/marvell/mmp3.dtsi | 218 +++++++++++++++++++++++++++-
|
||||
1 file changed, 216 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/marvell/mmp3.dtsi b/arch/arm/boot/dts/marvell/mmp3.dtsi
|
||||
index a4fb9203e..64cfc3fd8 100644
|
||||
--- a/arch/arm/boot/dts/marvell/mmp3.dtsi
|
||||
+++ b/arch/arm/boot/dts/marvell/mmp3.dtsi
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
- * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk>
|
||||
+ * Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
|
||||
*/
|
||||
|
||||
#include <dt-bindings/clock/marvell,mmp2.h>
|
||||
@@ -42,9 +42,41 @@ axi@d4200000 {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
- reg = <0xd4200000 0x00200000>;
|
||||
+ reg = <0xd4200000 0x00200000>,
|
||||
+ <0xc0ffd000 0x00003000>;
|
||||
ranges;
|
||||
|
||||
+ lcd0: lcdc@d420b000 {
|
||||
+ compatible = "marvell,mmp3-lcd", "marvell,armada-lcdc";
|
||||
+ reg = <0xd420b000 0x1000>;
|
||||
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&soc_clocks MMP2_CLK_DISP0_LCDC>,
|
||||
+ <&soc_clocks MMP2_CLK_VCTCXO>,
|
||||
+ <&soc_clocks MMP2_CLK_DISP0>,
|
||||
+ <&soc_clocks MMP2_CLK_DISP1>,
|
||||
+ <&soc_clocks MMP3_CLK_PLL3>;
|
||||
+ clock-names = "periph", "vctcxo",
|
||||
+ "disp0", "disp1", "pll3";
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ ports {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ port@0 {
|
||||
+ reg = <0>;
|
||||
+ lcd0_out: endpoint {
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ port@1 {
|
||||
+ reg = <1>;
|
||||
+ hdmi0_out: endpoint {
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
interrupt-controller@d4282000 {
|
||||
compatible = "marvell,mmp3-intc";
|
||||
interrupt-controller;
|
||||
@@ -54,6 +86,16 @@ interrupt-controller@d4282000 {
|
||||
mrvl,intc-nr-irqs = <64>;
|
||||
};
|
||||
|
||||
+ dma_mux: interrupt-controller@d4282128 {
|
||||
+ compatible = "mrvl,mmp2-mux-intc";
|
||||
+ interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ interrupt-controller;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ reg = <0x128 0x04 0x11c 0x04>;
|
||||
+ reg-names = "mux status", "mux mask";
|
||||
+ mrvl,intc-nr-irqs = <24>;
|
||||
+ };
|
||||
+
|
||||
pmic_mux: interrupt-controller@d4282150 {
|
||||
compatible = "mrvl,mmp2-mux-intc";
|
||||
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
|
||||
@@ -339,6 +381,70 @@ gpu_2d: gpu@d420f000 {
|
||||
clock-names = "core", "bus";
|
||||
power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>;
|
||||
};
|
||||
+
|
||||
+ rng@d4292c00 {
|
||||
+ compatible = "marvell,mmp2-rng";
|
||||
+ reg = <0xd4292c00 8>;
|
||||
+ };
|
||||
+
|
||||
+ adma0: dma-controller@c0ffd800 {
|
||||
+ compatible = "marvell,adma-1.0";
|
||||
+ reg = <0xc0ffd800 0x100>;
|
||||
+ interrupt-parent = <&dma_mux>;
|
||||
+ interrupts = <18 19>;
|
||||
+ #dma-cells = <1>;
|
||||
+ asram = <&asram>;
|
||||
+ iram = <&asram>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ adma1: dma-controller@c0ffd900 {
|
||||
+ compatible = "marvell,adma-1.0";
|
||||
+ reg = <0xc0ffd900 0x100>;
|
||||
+ interrupt-parent = <&dma_mux>;
|
||||
+ interrupts = <20 21>;
|
||||
+ #dma-cells = <1>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ audio_clk: clocks@c0ffdc30 {
|
||||
+ compatible = "marvell,mmp3-audio-clock";
|
||||
+ reg = <0xc0ffdc30 0x10>;
|
||||
+ clock-names = "audio", "vctcxo", "i2s0", "i2s1";
|
||||
+ clocks = <&soc_clocks MMP2_CLK_AUDIO>,
|
||||
+ <&soc_clocks MMP2_CLK_VCTCXO>,
|
||||
+ <&soc_clocks MMP2_CLK_I2S0>,
|
||||
+ <&soc_clocks MMP2_CLK_I2S1>;
|
||||
+ power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
|
||||
+ #clock-cells = <1>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ sspa0: audio-controller@c0ffdc00 {
|
||||
+ compatible = "marvell,mmp-sspa";
|
||||
+ reg = <0xc0ffdc00 0x30>,
|
||||
+ <0xc0ffdc80 0x30>;
|
||||
+ interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clock-names = "audio", "bitclk";
|
||||
+ clocks = <&soc_clocks MMP2_CLK_AUDIO>,
|
||||
+ <&audio_clk 1>;
|
||||
+ power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
|
||||
+ #sound-dai-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ sspa1: audio-controller@c0ffdd00 {
|
||||
+ compatible = "marvell,mmp-sspa";
|
||||
+ reg = <0xc0ffdd00 0x30>,
|
||||
+ <0xc0ffdd80 0x30>;
|
||||
+ interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clock-names = "audio", "bitclk";
|
||||
+ clocks = <&soc_clocks MMP2_CLK_AUDIO>,
|
||||
+ <&audio_clk 2>;
|
||||
+ power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
|
||||
+ #sound-dai-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
};
|
||||
|
||||
apb@d4000000 {
|
||||
@@ -348,6 +454,14 @@ apb@d4000000 {
|
||||
reg = <0xd4000000 0x00200000>;
|
||||
ranges;
|
||||
|
||||
+ dma-controller@d4000000 {
|
||||
+ compatible = "marvell,pdma-1.0";
|
||||
+ reg = <0xd4000000 0x10000>;
|
||||
+ interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ #dma-channels = <16>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
timer: timer@d4014000 {
|
||||
compatible = "mrvl,mmp-timer";
|
||||
reg = <0xd4014000 0x100>;
|
||||
@@ -395,6 +509,31 @@ uart4: serial@d4016000 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pinctrl: pinctrl@d401e000 {
|
||||
+ compatible = "pinconf-single";
|
||||
+ reg = <0xd401e000 0x2c4>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ #pinctrl-cells = <1>;
|
||||
+
|
||||
+ pinctrl-single,register-width = <32>;
|
||||
+ pinctrl-single,function-mask = <7>;
|
||||
+ pinctrl-single,bias-pulldown = <(5 << 13) (5 << 13) 0 (7 << 13)>;
|
||||
+ pinctrl-single,bias-pullup = <(6 << 13) (6 << 13) 0 (7 << 13)>;
|
||||
+
|
||||
+ pinctrl-single,gpio-range = <&pinctrl_gpio_range 0x0 3 1>,
|
||||
+ <&pinctrl_gpio_range 0xc 77 0>,
|
||||
+ <&pinctrl_gpio_range 0x148 1 0>,
|
||||
+ <&pinctrl_gpio_range 0x14c 4 1>,
|
||||
+ <&pinctrl_gpio_range 0x170 28 0>,
|
||||
+ <&pinctrl_gpio_range 0x1e0 32 1>,
|
||||
+ <&pinctrl_gpio_range 0x260 23 0>;
|
||||
+
|
||||
+ pinctrl_gpio_range: gpio-range {
|
||||
+ #pinctrl-single,gpio-range-cells = <3>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
gpio: gpio@d4019000 {
|
||||
compatible = "marvell,mmp2-gpio";
|
||||
#address-cells = <1>;
|
||||
@@ -410,6 +549,37 @@ gpio: gpio@d4019000 {
|
||||
#interrupt-cells = <2>;
|
||||
ranges;
|
||||
|
||||
+ gpio-ranges = <&pinctrl 0 21 59>,
|
||||
+ <&pinctrl 59 160 15>,
|
||||
+ <&pinctrl 74 92 28>,
|
||||
+ <&pinctrl 102 0 2>,
|
||||
+ <&pinctrl 104 127 1>,
|
||||
+ <&pinctrl 105 126 1>,
|
||||
+ <&pinctrl 106 125 1>,
|
||||
+ <&pinctrl 107 124 1>,
|
||||
+ <&pinctrl 108 135 1>,
|
||||
+ <&pinctrl 109 134 1>,
|
||||
+ <&pinctrl 110 133 1>,
|
||||
+ <&pinctrl 111 128 1>,
|
||||
+ <&pinctrl 112 145 1>,
|
||||
+ <&pinctrl 113 151 1>,
|
||||
+ <&pinctrl 115 152 8>,
|
||||
+ <&pinctrl 123 82 1>,
|
||||
+ <&pinctrl 124 3 18>,
|
||||
+ <&pinctrl 142 2 1>,
|
||||
+ <&pinctrl 143 136 9>,
|
||||
+ <&pinctrl 152 146 2>,
|
||||
+ <&pinctrl 154 149 6>,
|
||||
+ <&pinctrl 160 148 1>,
|
||||
+ <&pinctrl 161 132 1>,
|
||||
+ <&pinctrl 162 131 1>,
|
||||
+ <&pinctrl 163 130 1>,
|
||||
+ <&pinctrl 164 129 1>,
|
||||
+ <&pinctrl 165 123 1>,
|
||||
+ <&pinctrl 166 122 1>,
|
||||
+ <&pinctrl 167 121 1>,
|
||||
+ <&pinctrl 168 120 1>;
|
||||
+
|
||||
gcb0: gpio@d4019000 {
|
||||
reg = <0xd4019000 0x4>;
|
||||
};
|
||||
@@ -558,6 +728,18 @@ ssp4: spi@d4039000 {
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
+
|
||||
+ tsc: temperature-sensor@d403b000 {
|
||||
+ compatible = "marvell,mmp3-thermal";
|
||||
+ reg = <0xd403b000 0x1000>;
|
||||
+ clock-names = "thermal0", "thermal1",
|
||||
+ "thermal2", "thermal3";
|
||||
+ clocks = <&soc_clocks MMP2_CLK_THERMAL0>,
|
||||
+ <&soc_clocks MMP3_CLK_THERMAL1>,
|
||||
+ <&soc_clocks MMP3_CLK_THERMAL2>,
|
||||
+ <&soc_clocks MMP3_CLK_THERMAL3>;
|
||||
+ #thermal-sensor-cells = <0>;
|
||||
+ };
|
||||
};
|
||||
|
||||
l2: cache-controller@d0020000 {
|
||||
@@ -567,6 +749,15 @@ l2: cache-controller@d0020000 {
|
||||
cache-level = <2>;
|
||||
};
|
||||
|
||||
+ asram: sram@d1030000 {
|
||||
+ compatible = "mmio-sram";
|
||||
+ reg = <0xd1030000 0x10000>;
|
||||
+ ranges = <0 0xd1030000 0x10000>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
soc_clocks: clocks@d4050000 {
|
||||
compatible = "marvell,mmp3-clock";
|
||||
reg = <0xd4050000 0x2000>,
|
||||
@@ -605,4 +796,27 @@ watchdog@e0000620 {
|
||||
IRQ_TYPE_EDGE_RISING)>;
|
||||
};
|
||||
};
|
||||
+
|
||||
+ thermal-zones {
|
||||
+ cpu-thermal {
|
||||
+ polling-delay = <1000>;
|
||||
+ polling-delay-passive = <0>;
|
||||
+ thermal-sensors = <&tsc>;
|
||||
+
|
||||
+ trips {
|
||||
+ cpu-crit {
|
||||
+ temperature = <100500>;
|
||||
+ hysteresis = <0>;
|
||||
+ /*
|
||||
+ temperature = <125000>;
|
||||
+ hysteresis = <0>;
|
||||
+ */
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
--
|
||||
2.52.0
|
||||
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# Co-Maintainer: exkc <exkc@exkc.moe>
|
||||
maintainer="Robert Eckelmann <longnoserob@postmarketos.org>"
|
||||
pkgname=linux-postmarketos-marvell
|
||||
pkgver=6.17.8
|
||||
pkgver=6.18.2
|
||||
pkgrel=0
|
||||
pkgdesc="mainline (stable) for Marvell SoC"
|
||||
arch="armv7"
|
||||
|
|
@ -30,6 +30,8 @@ replaces="linux-postmarketos-marvell-dove"
|
|||
# Source
|
||||
_config="config-$_flavor.$arch"
|
||||
source="
|
||||
0001-dts-marvell-mmp3-dell-ariel-import-dts-from-linux-mm.patch
|
||||
0002-dts-marvell-mmp3-add-changes.patch
|
||||
wd-glacier.patch
|
||||
$pkgname-$pkgver.tar.xz::https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$pkgver.tar.xz
|
||||
$_config
|
||||
|
|
@ -66,7 +68,11 @@ package() {
|
|||
|
||||
|
||||
sha512sums="
|
||||
3ebc58600a07e07fba681c497b36a7f21de9f9034dab70988ad54e606affa33c49ba3580f92b8343e42b6cfad3b23531ac133d97c2c998878d96bd21d738475d 0001-dts-marvell-mmp3-merge-parts-from-linux-mmp.patch
|
||||
c5bd35a1077f4d6790be8c775040e7798ba708fd8797b10f9cbaf1b8a6a70a4071ec94caa7f78b9c1d4c37deae108134a7dc4f28f5fd3b71b501f4126e79f255 0002-dts-marvell-mmp3-dell-ariel-import-from-linux-mmp.patch
|
||||
72ba9314bbfe078e6375a863a67f71a63f799d181296d621616d9aea413f01942ddb0aad550c6698d22149eaecb6a5e15e68ee9f4305fe27779888ff3b584544 0003-dts-marvell-mmp3-dell-ariel-enable-pinctls.patch
|
||||
ebf84ccd65c27cc479ff655e3d9ff367c74df9b93c6e21ea452384f47db6d38c7693a9266632fcf10919825da6664922d21b5567182fa6638ef744e26f2af629 0004-fix-pinctrol-prefixes.patch
|
||||
4c26ffca58dbdb75f24670d0aee5115cc3dc96b09ba2bcbcdd435d3e1e49cc0672cb0c0934a357047f59f47e1d24846f46cdd0cdcd19c87e14ff1c045ddd21af wd-glacier.patch
|
||||
eedd6d12c6b9e96481b12668bd5f7b639182f9b00b4d882038d245e493590a6bb94a72a2a162022c3abbfdfeeb7f7a4521c72210e120e8a543d5aa8a42a09bce linux-postmarketos-marvell-6.17.8.tar.xz
|
||||
8b1ece9302f0e72c85de2b09b9883bbf21b437b0f407d259b83e1bdaef30099867fbd9458928d45f6b6972c67bac8dac6acb3f7dbc6f23b486fea00c57672829 config-postmarketos-marvell.armv7
|
||||
15989d1a26c6a5200b8eab4ba348b308466398aa75dda3844b37e7eb320206236d47c94cbc0e0b1d7ead10385ca84d34d0f2aa02ba5c1bd65ca6a5aa71c57117 linux-postmarketos-marvell-6.18.2.tar.xz
|
||||
a9fe4de0c9a37facf099d908b36551ff8a4a1c0738aac042c8e3dea9b0bf5749a8bb1372179c6ec02b93324e0db47dbca632578f8bb97fa32c1b658b88f08690 config-postmarketos-marvell.armv7
|
||||
"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue