removed the fixup script changes

made dts enabled by default
This commit is contained in:
LanMarc77 2024-06-06 20:55:39 +02:00
parent eee9baaa86
commit 3dd0a8b338
4 changed files with 6 additions and 8 deletions

View File

@ -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"

View File

@ -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>;
};

View File

@ -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"

View File

@ -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>;
};