ARM: dts: stm32mp13: alignment with v5.19
Device tree alignment with Linux kernel v5.19-rc1 with: - ARM: dts: stm32: add UserPA13 button on stm32mp135f-dk - ARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk - ARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131 - ARM: dts: stm32: enable RTC support on stm32mp135f-dk - ARM: dts: stm32: add RTC node on stm32mp131 - ARM: dts: stm32: fix pinctrl node name warnings (MPU soc) Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
@@ -113,6 +113,12 @@
|
|||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
clock-frequency = <99000000>;
|
clock-frequency = <99000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clk_rtc_k: clk-rtc-k {
|
||||||
|
#clock-cells = <0>;
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
clock-frequency = <32768>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
intc: interrupt-controller@a0021000 {
|
intc: interrupt-controller@a0021000 {
|
||||||
@@ -256,6 +262,15 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rtc: rtc@5c004000 {
|
||||||
|
compatible = "st,stm32mp1-rtc";
|
||||||
|
reg = <0x5c004000 0x400>;
|
||||||
|
interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&clk_pclk4>, <&clk_rtc_k>;
|
||||||
|
clock-names = "pclk", "rtc_ck";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
bsec: efuse@5c005000 {
|
bsec: efuse@5c005000 {
|
||||||
compatible = "st,stm32mp13-bsec";
|
compatible = "st,stm32mp13-bsec";
|
||||||
reg = <0x5c005000 0x400>;
|
reg = <0x5c005000 0x400>;
|
||||||
@@ -277,11 +292,13 @@
|
|||||||
* Break node order to solve dependency probe issue between
|
* Break node order to solve dependency probe issue between
|
||||||
* pinctrl and exti.
|
* pinctrl and exti.
|
||||||
*/
|
*/
|
||||||
pinctrl: pin-controller@50002000 {
|
pinctrl: pinctrl@50002000 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
compatible = "st,stm32mp135-pinctrl";
|
compatible = "st,stm32mp135-pinctrl";
|
||||||
ranges = <0 0x50002000 0x8400>;
|
ranges = <0 0x50002000 0x8400>;
|
||||||
|
interrupt-parent = <&exti>;
|
||||||
|
st,syscfg = <&exti 0x60 0xff>;
|
||||||
pins-are-numbered;
|
pins-are-numbered;
|
||||||
|
|
||||||
gpioa: gpio@50002000 {
|
gpioa: gpio@50002000 {
|
||||||
|
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
#include <dt-bindings/input/input.h>
|
||||||
|
#include <dt-bindings/leds/common.h>
|
||||||
#include "stm32mp135.dtsi"
|
#include "stm32mp135.dtsi"
|
||||||
#include "stm32mp13xf.dtsi"
|
#include "stm32mp13xf.dtsi"
|
||||||
#include "stm32mp13-pinctrl.dtsi"
|
#include "stm32mp13-pinctrl.dtsi"
|
||||||
@@ -34,6 +37,28 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio-keys {
|
||||||
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
|
user-pa13 {
|
||||||
|
label = "User-PA13";
|
||||||
|
linux,code = <BTN_1>;
|
||||||
|
gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
|
led-blue {
|
||||||
|
function = LED_FUNCTION_HEARTBEAT;
|
||||||
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
|
||||||
|
linux,default-trigger = "heartbeat";
|
||||||
|
default-state = "off";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
vdd_sd: vdd-sd {
|
vdd_sd: vdd-sd {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vdd_sd";
|
regulator-name = "vdd_sd";
|
||||||
@@ -48,6 +73,10 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&rtc {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&sdmmc1 {
|
&sdmmc1 {
|
||||||
pinctrl-names = "default", "opendrain", "sleep";
|
pinctrl-names = "default", "opendrain", "sleep";
|
||||||
pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>;
|
pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>;
|
||||||
|
Reference in New Issue
Block a user