Compare commits

...

3 Commits

Author SHA1 Message Date
Heinrich Toews
f3d1e869a7 dts: lime: spi0: enable spi-nor flash
Signed-off-by: Heinrich Toews <ht@twx-software.de>
2025-06-30 21:48:19 +02:00
Heinrich Toews
32a49d49f8 dts: lime2: remove whitespaces
Signed-off-by: Heinrich Toews <ht@twx-software.de>
2025-06-30 21:44:12 +02:00
Heinrich Toews
9104d1ce03 dts: lime2: turn off heartbeat trigger
Signed-off-by: Heinrich Toews <ht@twx-software.de>
2025-06-30 21:43:39 +02:00
2 changed files with 23 additions and 14 deletions

@ -157,7 +157,20 @@ eeprom: eeprom@50 {
&spi0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi0_pi_pins>, <&spi0_cs0_pi_pin>;
pinctrl-0 = <&spi0_pc_pins>, <&spi0_cs0_pc_pin>;
spi-nor@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
status = "okay";
};
};
&spi1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi1_pi_pins>, <&spi1_cs0_pi_pin>;
led-controller@0 {
compatible = "worldsemi,ws2812b";
@ -216,18 +229,6 @@ multi-led@7 {
};
};
&spi1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi1_pi_pins>, <&spi1_cs0_pi_pin>;
spidev@0 {
compatible = "semtech,sx1301";
reg = <0>;
spi-max-frequency = <4000000>;
};
};
&gmac_mdio {
phy1: ethernet-phy@1 {
reg = <1>;

@ -79,7 +79,7 @@ leds {
led {
label = "a20-olinuxino-lime2:green:usr";
gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
linux,default-trigger = "none";
default-state = "on";
};
};
@ -180,48 +180,56 @@ led-controller@0 {
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <2850000>;
multi-led@0 {
reg = <0>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <0>;
};
multi-led@1 {
reg = <1>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <1>;
};
multi-led@2 {
reg = <2>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <2>;
};
multi-led@3 {
reg = <3>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <3>;
};
multi-led@4 {
reg = <4>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <4>;
};
multi-led@5 {
reg = <5>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <5>;
};
multi-led@6 {
reg = <6>;
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;
function-enumerator = <6>;
};
multi-led@7 {
reg = <7>;
color = <LED_COLOR_ID_RGB>;