From 3dd0a8b3385f80371360741225b6f16d2450b8a3 Mon Sep 17 00:00:00 2001 From: LanMarc77 Date: Thu, 6 Jun 2024 20:55:39 +0200 Subject: [PATCH] removed the fixup script changes made dts enabled by default --- .../archive/rockchip64-6.6/overlay/rockchip-fixup.scr-cmd | 1 - .../rockchip64-6.6/overlay/rockchip-rk3328-spi-spidev.dts | 6 +++--- .../archive/rockchip64-6.8/overlay/rockchip-fixup.scr-cmd | 1 - .../rockchip64-6.8/overlay/rockchip-rk3328-spi-spidev.dts | 6 +++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-fixup.scr-cmd b/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-fixup.scr-cmd index 99f10ab78f..c6cd5d8abd 100644 --- a/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-fixup.scr-cmd +++ b/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-fixup.scr-cmd @@ -33,7 +33,6 @@ if test -n "${param_spinor_spi_bus}"; then fi if test -n "${param_spidev_spi_bus}"; then - test "${param_spidev_spi_bus}" = "nanopineo3-0" && setenv tmp_spi_path "spi@ff190000" test "${param_spidev_spi_bus}" = "0" && setenv tmp_spi_path "spi@ff1c0000" test "${param_spidev_spi_bus}" = "1" && setenv tmp_spi_path "spi@ff1d0000" test "${param_spidev_spi_bus}" = "2" && setenv tmp_spi_path "spi@ff1e0000" diff --git a/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-rk3328-spi-spidev.dts b/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-rk3328-spi-spidev.dts index 0925d38e15..9cc0238296 100644 --- a/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-rk3328-spi-spidev.dts +++ b/patch/kernel/archive/rockchip64-6.6/overlay/rockchip-rk3328-spi-spidev.dts @@ -7,6 +7,7 @@ target-path = "/aliases"; __overlay__ { + status = "okay"; spi0 = "/spi@ff190000"; }; }; @@ -15,12 +16,11 @@ target = <0xffffffff>; __overlay__ { - #address-cells = <0x01>; - #size-cells = <0x00>; + status = "okay"; spidev { compatible = "armbian,spi-dev"; - status = "disabled"; + status = "okay"; reg = <0x00>; spi-max-frequency = <0x989680>; }; diff --git a/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-fixup.scr-cmd b/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-fixup.scr-cmd index 99f10ab78f..c6cd5d8abd 100644 --- a/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-fixup.scr-cmd +++ b/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-fixup.scr-cmd @@ -33,7 +33,6 @@ if test -n "${param_spinor_spi_bus}"; then fi if test -n "${param_spidev_spi_bus}"; then - test "${param_spidev_spi_bus}" = "nanopineo3-0" && setenv tmp_spi_path "spi@ff190000" test "${param_spidev_spi_bus}" = "0" && setenv tmp_spi_path "spi@ff1c0000" test "${param_spidev_spi_bus}" = "1" && setenv tmp_spi_path "spi@ff1d0000" test "${param_spidev_spi_bus}" = "2" && setenv tmp_spi_path "spi@ff1e0000" diff --git a/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-rk3328-spi-spidev.dts b/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-rk3328-spi-spidev.dts index 0925d38e15..9cc0238296 100644 --- a/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-rk3328-spi-spidev.dts +++ b/patch/kernel/archive/rockchip64-6.8/overlay/rockchip-rk3328-spi-spidev.dts @@ -7,6 +7,7 @@ target-path = "/aliases"; __overlay__ { + status = "okay"; spi0 = "/spi@ff190000"; }; }; @@ -15,12 +16,11 @@ target = <0xffffffff>; __overlay__ { - #address-cells = <0x01>; - #size-cells = <0x00>; + status = "okay"; spidev { compatible = "armbian,spi-dev"; - status = "disabled"; + status = "okay"; reg = <0x00>; spi-max-frequency = <0x989680>; };