removed the fixup script changes
made dts enabled by default
This commit is contained in:
parent
eee9baaa86
commit
3dd0a8b338
@ -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"
|
||||
|
||||
@ -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>;
|
||||
};
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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>;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user