Skip to content

Commit

Permalink
update to linux 6.6-rc6 and disable non-working nodes
Browse files Browse the repository at this point in the history
Signed-off-by: John Clark <[email protected]>
  • Loading branch information
inindev committed Oct 19, 2023
1 parent b9d39e8 commit 482a8f4
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 443 deletions.
4 changes: 2 additions & 2 deletions dtb/make_dtb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set -e
# 5: invalid file hash

main() {
local linux='https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.5.7.tar.xz'
local lxsha='0d09ea448005c9cfe5383e4c72a872b39188b928f8c44e146b03b1b7851fbb8c'
local linux='https://git.kernel.org/torvalds/t/linux-6.6-rc6.tar.gz'
local lxsha='4fa3ebe1d789b6286e20cd5368c65094786b2a33722878645d04952382aded42'

local lf="$(basename "$linux")"
local lv="$(echo "$lf" | sed -nE 's/linux-(.*)\.tar\..z/\1/p')"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
From 2fd2c6449c28d1b215acfe9ed42c2c040cfcb12b Mon Sep 17 00:00:00 2001
From: John Clark <[email protected]>
Date: Thu, 19 Oct 2023 17:28:25 +0000
Subject: [PATCH 1/2] riscv: dts: starfive: visionfive 2: disable qspi, tdm,
and usb0 nodes

Signed-off-by: John Clark <[email protected]>
---
.../boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
index 12ebe97..eadd6ca 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
@@ -235,7 +235,7 @@
&qspi {
#address-cells = <1>;
#size-cells = <0>;
- status = "okay";
+ status = "disabled";

nor_flash: flash@0 {
compatible = "jedec,spi-nor";
@@ -502,7 +502,7 @@
&tdm {
pinctrl-names = "default";
pinctrl-0 = <&tdm_pins>;
- status = "okay";
+ status = "disabled";
};

&uart0 {
@@ -513,7 +513,7 @@

&usb0 {
dr_mode = "peripheral";
- status = "okay";
+ status = "disabled";
};

&U74_1 {
--
2.40.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From d8472de8b0a0cdc22d8d4b6d3ffbbefb9de28acf Mon Sep 17 00:00:00 2001
From: John Clark <[email protected]>
Date: Thu, 19 Oct 2023 17:36:51 +0000
Subject: [PATCH 2/2] iscv: dts: starfive: jh7110: remove PLL clocks source in
SYSCRG node

Signed-off-by: John Clark <[email protected]>
---
arch/riscv/boot/dts/starfive/jh7110.dtsi | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi
index e85464c..660b444 100644
--- a/arch/riscv/boot/dts/starfive/jh7110.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi
@@ -774,16 +774,12 @@
<&gmac1_rgmii_rxin>,
<&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
<&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
- <&tdm_ext>, <&mclk_ext>,
- <&pllclk JH7110_PLLCLK_PLL0_OUT>,
- <&pllclk JH7110_PLLCLK_PLL1_OUT>,
- <&pllclk JH7110_PLLCLK_PLL2_OUT>;
+ <&tdm_ext>, <&mclk_ext>;
clock-names = "osc", "gmac1_rmii_refin",
"gmac1_rgmii_rxin",
"i2stx_bclk_ext", "i2stx_lrck_ext",
"i2srx_bclk_ext", "i2srx_lrck_ext",
- "tdm_ext", "mclk_ext",
- "pll0_out", "pll1_out", "pll2_out";
+ "tdm_ext", "mclk_ext";
#clock-cells = <1>;
#reset-cells = <1>;
};
--
2.40.1

Loading

0 comments on commit 482a8f4

Please sign in to comment.