mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-04-19 03:04:24 +00:00
Enable SPI on LTC. Use HPS LED for SD card activity.
This commit is contained in:
@@ -47,7 +47,16 @@
|
||||
hps0 {
|
||||
label = "hps_led0";
|
||||
gpios = <&portb 24 0>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
};
|
||||
|
||||
ltcmode {
|
||||
compatible = "gpio-leds";
|
||||
ltcsw {
|
||||
label = "ltc_sw";
|
||||
gpios = <&portb 11 0>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -109,6 +118,17 @@
|
||||
};
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
timeouts = <3>;
|
||||
spibri {
|
||||
status = "okay";
|
||||
compatible = "altspi";
|
||||
spi-max-frequency = <25000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&mmc0 {
|
||||
vmmc-supply = <®ulator_3_3v>;
|
||||
vqmmc-supply = <®ulator_3_3v>;
|
||||
|
||||
@@ -684,6 +684,7 @@ static const struct of_device_id spidev_dt_ids[] = {
|
||||
{ .compatible = "menlo,m53cpld" },
|
||||
{ .compatible = "cisco,spi-petra" },
|
||||
{ .compatible = "micron,spi-authenta" },
|
||||
{ .compatible = "altspi" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
|
||||
|
||||
Reference in New Issue
Block a user