STM32 DT fixes for v5.14, round 1

Highlights:
 -----------
 
  -Fixes are for DHCOM/DHCOR boards:
   - Set HW RTC ad default RTC
   - Disable EDPD LAN8710 feature as it is not a stable feature.
   - Fix touchscreen IRQ line assignment
 -----BEGIN PGP SIGNATURE-----
 
 iQJRBAABCgA7FiEEctl9+nxzUSUqdELdf5rJavIecIUFAmEEA3EdHGFsZXhhbmRy
 ZS50b3JndWVAZm9zcy5zdC5jb20ACgkQf5rJavIecIWF/g/+LI5Ld4tVk7QaLGgw
 5AraxEPXuSObEwUbF1uAiip3Z4clhzaM7DfWx6SYr5GfP4sFyjblCaIQeTHEqVBJ
 bM8x4BJaoSbZwbDXFAcMCcgObyuJbxXKWk8vfJfEyWcTxhLcnCJT/FBigEbQHeY6
 PCRngyNEABBzxTEkwjBEFtnZXJA6rHp77Iy4hY6ZhjmAfb3CR+IkFJJD10EoTgM1
 J3Zuu7syAXhWJUgMBhfDuwHFca2nwbmznSYSNBE8U2fj0QYzZIgSqupCev8IjIou
 GR/2z8Hvdn2hGmwQ9aJU35bxdUPZdMu1hL78Da0MYbDvEXM5XxhvV0w5tUPMLxyJ
 pBKLUTqJQybQXdFSWk1BEqlGo6Wh+ApFgnsqFRVyCW3tajWH5iptjHzpA85Dtt09
 kwvSWo86yCT5jriamZoN3UnlbCmwRneutBnXcLY5hgxCmxs/vJiJDlIf9ttMezbj
 D0lltk+TTSwgwVx3xX5yKSocDKkrS00NOUI2jvRbWl7ZYbKe7qxtorzkWJeowIkH
 y5eos86g+pKsBaujhBaUVLSGym2cm8CrNdAOvmnOSS8encUExf3QeYysCE2ojfSR
 pZQ8vJ5AK1LAMeKjmYZiOVMK5zOcSaL9EHaoUpa5il9BDz+B/Lxx1TQWtnI/zabz
 bO2aE28TkYvM7IFQESTG3TqeOAg=
 =kMxX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmEH5voACgkQmmx57+YA
 GNm38RAAlFjVh8J8w5Qx9iLl8JRWbb5kHXmMOw040tXc6niO+SqN3BF80WTG6Ii1
 4xp7/eqQFCY2m5T3dSiHw3IaUGsYqgMgtc07Z5EuyeXIKI5++m78Ism7BufGRx8u
 pv2D26mudumc4wKzgsdV6yfzUIdxqU5VaDK4N8LDW3mY7vRC6xqU3f6rwvZxjlPQ
 dKQRsCotAWrqfTvEOWfOWZHSY9m5rgrWk2dr9Im3RdGOksD2xxDvBzSFLH2UHYYd
 LGk0Ol+TB2pjymHZwrpMj7WA+7iI3TDRHKVtYRBMUXDHRqWL2d83VFSU2qfkURmp
 SgIrLnVGVPM6fSxC0aysvhIqqX3ikJtAqzDHntR+i1oh527rnQ3lyLHW501JvIc3
 ZpkRkaIxCs1NRR4JT9pwf+pdvbJQhOQHck2RKyDvax4xeWADYN7uSXrtcIPfvN6R
 BqVkN8foCMlkKwliQenet6xsgCDoGdSidP0QyGhbLim9PSPC41I+fbe518nwu6OW
 merUOdM7Q8olFWnYkcpHZa/XSKnWcLQmtKB4GwsXQI/ZFkV06xhZCULkKl7N7qsu
 2iF1JfeJiv7TCllg3TmUXjXYl+YMv+OOKB6B94HUo4jbJ5kli/G451EX+W75A0mY
 Gcgjsj6X2TzjXPDqaQKk1yVfa2bMgn86M74EUSW3Gk6e+v3pCI8=
 =2yIl
 -----END PGP SIGNATURE-----

Merge tag 'stm32-dt-for-v5.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/fixes

STM32 DT fixes for v5.14, round 1

Highlights:
-----------

 -Fixes are for DHCOM/DHCOR boards:
  - Set HW RTC ad default RTC
  - Disable EDPD LAN8710 feature as it is not a stable feature.
  - Fix touchscreen IRQ line assignment

* tag 'stm32-dt-for-v5.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
  ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
  ARM: dts: stm32: Prefer HW RTC on DHCOM SoM

Link: https://lore.kernel.org/r/c0b6031b-2de7-2ef8-71b2-a0af8f475932@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2021-08-02 14:37:13 +02:00
commit b07bf042e6
2 changed files with 18 additions and 11 deletions

View File

@ -37,7 +37,7 @@
poll-interval = <20>;
/*
* The EXTi IRQ line 3 is shared with touchscreen and ethernet,
* The EXTi IRQ line 3 is shared with ethernet,
* so mark this as polled GPIO key.
*/
button-0 {
@ -46,6 +46,16 @@
gpios = <&gpiof 3 GPIO_ACTIVE_LOW>;
};
/*
* The EXTi IRQ line 6 is shared with touchscreen,
* so mark this as polled GPIO key.
*/
button-1 {
label = "TA2-GPIO-B";
linux,code = <KEY_B>;
gpios = <&gpiod 6 GPIO_ACTIVE_LOW>;
};
/*
* The EXTi IRQ line 0 is shared with PMIC,
* so mark this as polled GPIO key.
@ -60,13 +70,6 @@
gpio-keys {
compatible = "gpio-keys";
button-1 {
label = "TA2-GPIO-B";
linux,code = <KEY_B>;
gpios = <&gpiod 6 GPIO_ACTIVE_LOW>;
wakeup-source;
};
button-3 {
label = "TA4-GPIO-D";
linux,code = <KEY_D>;
@ -82,6 +85,7 @@
label = "green:led5";
gpios = <&gpioc 6 GPIO_ACTIVE_HIGH>;
default-state = "off";
status = "disabled";
};
led-1 {
@ -185,8 +189,8 @@
touchscreen@38 {
compatible = "edt,edt-ft5406";
reg = <0x38>;
interrupt-parent = <&gpiog>;
interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */
interrupt-parent = <&gpioc>;
interrupts = <6 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */
};
};

View File

@ -12,6 +12,8 @@
aliases {
ethernet0 = &ethernet0;
ethernet1 = &ksz8851;
rtc0 = &hwrtc;
rtc1 = &rtc;
};
memory@c0000000 {
@ -138,6 +140,7 @@
reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
reset-assert-us = <500>;
reset-deassert-us = <500>;
smsc,disable-energy-detect;
interrupt-parent = <&gpioi>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
};
@ -248,7 +251,7 @@
/delete-property/dmas;
/delete-property/dma-names;
rtc@32 {
hwrtc: rtc@32 {
compatible = "microcrystal,rv8803";
reg = <0x32>;
};