Commit e2b064fe authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'at91-dt-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt

AT91 dt for 5.13:

- two little fixes (typo, W=1)
- a change in gpio button keycode for recent boards

* tag 'at91-dt-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: sama5d2: add ETB and ETM unit name
  ARM: dts: at91: change the key code of the gpio key
  ARM: dts: at91: Fix a typo

Link: https://lore.kernel.org/r/20210407114415.13180-1-nicolas.ferre@microchip.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 2ce5e1b0 4d930c42
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "sam9x60.dtsi" #include "sam9x60.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
model = "Microchip SAM9X60-EK"; model = "Microchip SAM9X60-EK";
...@@ -84,7 +85,7 @@ gpio_keys { ...@@ -84,7 +85,7 @@ gpio_keys {
sw1 { sw1 {
label = "SW1"; label = "SW1";
gpios = <&pioD 18 GPIO_ACTIVE_LOW>; gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
linux,code=<0x104>; linux,code=<KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "at91-sama5d27_som1.dtsi" #include "at91-sama5d27_som1.dtsi"
#include <dt-bindings/mfd/atmel-flexcom.h> #include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ { / {
model = "Atmel SAMA5D27 SOM1 EK"; model = "Atmel SAMA5D27 SOM1 EK";
...@@ -466,7 +467,7 @@ gpio_keys { ...@@ -466,7 +467,7 @@ gpio_keys {
pb4 { pb4 {
label = "USER"; label = "USER";
gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "at91-sama5d27_wlsom1.dtsi" #include "at91-sama5d27_wlsom1.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
model = "Microchip SAMA5D27 WLSOM1 EK"; model = "Microchip SAMA5D27 WLSOM1 EK";
...@@ -35,7 +36,7 @@ gpio_keys { ...@@ -35,7 +36,7 @@ gpio_keys {
sw4 { sw4 {
label = "USER BUTTON"; label = "USER BUTTON";
gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "sama5d2.dtsi" #include "sama5d2.dtsi"
#include "sama5d2-pinfunc.h" #include "sama5d2-pinfunc.h"
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/mfd/atmel-flexcom.h> #include <dt-bindings/mfd/atmel-flexcom.h>
/ { / {
...@@ -51,7 +52,7 @@ gpio_keys { ...@@ -51,7 +52,7 @@ gpio_keys {
sw4 { sw4 {
label = "USER_PB1"; label = "USER_PB1";
gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "sama5d2-pinfunc.h" #include "sama5d2-pinfunc.h"
#include <dt-bindings/mfd/atmel-flexcom.h> #include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
/ { / {
...@@ -402,7 +403,7 @@ gpio_keys { ...@@ -402,7 +403,7 @@ gpio_keys {
bp1 { bp1 {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "sama5d2-pinfunc.h" #include "sama5d2-pinfunc.h"
#include <dt-bindings/mfd/atmel-flexcom.h> #include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/regulator/active-semi,8945a-regulator.h> #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
/ { / {
...@@ -712,7 +713,7 @@ gpio_keys { ...@@ -712,7 +713,7 @@ gpio_keys {
bp1 { bp1 {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "sama5d36.dtsi" #include "sama5d36.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
model = "SAMA5D3 Xplained"; model = "SAMA5D3 Xplained";
...@@ -354,7 +355,7 @@ gpio_keys { ...@@ -354,7 +355,7 @@ gpio_keys {
bp3 { bp3 {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioE 29 GPIO_ACTIVE_LOW>; gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "at91sam9260.dtsi" #include "at91sam9260.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
model = "Atmel at91sam9260ek"; model = "Atmel at91sam9260ek";
...@@ -156,7 +157,7 @@ btn3 { ...@@ -156,7 +157,7 @@ btn3 {
btn4 { btn4 {
label = "Button 4"; label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>; gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/ */
#include "at91sam9g20.dtsi" #include "at91sam9g20.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
...@@ -234,7 +235,7 @@ btn3 { ...@@ -234,7 +235,7 @@ btn3 {
btn4 { btn4 {
label = "Button 4"; label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>; gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <0x104>; linux,code = <KEY_PROG1>;
wakeup-source; wakeup-source;
}; };
}; };
......
...@@ -40,7 +40,7 @@ pmu { ...@@ -40,7 +40,7 @@ pmu {
interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
etb { etb@740000 {
compatible = "arm,coresight-etb10", "arm,primecell"; compatible = "arm,coresight-etb10", "arm,primecell";
reg = <0x740000 0x1000>; reg = <0x740000 0x1000>;
...@@ -56,7 +56,7 @@ etb_in: endpoint { ...@@ -56,7 +56,7 @@ etb_in: endpoint {
}; };
}; };
etm { etm@73C000 {
compatible = "arm,coresight-etm3x", "arm,primecell"; compatible = "arm,coresight-etm3x", "arm,primecell";
reg = <0x73C000 0x1000>; reg = <0x73C000 0x1000>;
......
...@@ -709,7 +709,7 @@ pinctrl_mmc0_dat4_7: mmc0_dat4_7 { ...@@ -709,7 +709,7 @@ pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
atmel,pins = atmel,pins =
<AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */ <AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */
AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */ AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */
AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD7 periph A MCI0_DA6 with pullup, conlicts with TCLK0, PWMH3 */ AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD7 periph A MCI0_DA6 with pullup, conflicts with TCLK0, PWMH3 */
AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD8 periph A MCI0_DA7 with pullup, conflicts with PWML3 */ AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD8 periph A MCI0_DA7 with pullup, conflicts with PWML3 */
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment