Cleanup of ARM DTS for v5.20, part two

Series of cleanups for ARM DTS - white-spaces, gpio-key subnode names
 and gpio-key properties for more boards: TI, Marvell, AT91 and Aspeed.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmLFuI4QHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD1wjGD/9wkItMwbnNVyAFg0UKLDnpkxAct2jG5pa0
 58QJQmEJjXSVw1QfOZgZkMwmdhu6u2axao+QtwLk42GBHBZzRWt7ZZZxc8W82XKB
 VvUkjcerZ36Hwsa2ooSNRVfShnCARbMky9iJ/xQn2w/w8b2edmu+AMG/X0Qu5tex
 Ncu+6UAGBeler0BGH2EipvP+ifseM54+tOUMQCEcWzaL5QLDYC8f00trKQzy/+Pa
 EIN8KD4OGOw+UUvJ1dC79yv2wraCO7EUTkSM3xgcrXDwQmXDWVmzkMrwnTLLYKku
 zb6p6YtFyZkf1AG7UafEevTWqyiZ4Niw0BN+BPNmKb+1scAgNqHMHntGNwga0bkh
 iC3lqnENEgl1fsjEQ/dhRmwOoZl+JJFiFTS7VwPm1RDh8flHrmka0h0+g0Kt1Nzr
 CDBA7I3xPchK699b/5RZWhH8HaCRbWARM+yC8ksZb77Bd3JDGGeLbv9aMkP8dW4p
 MC3nCYjDP9/pvBDpmdXDfN1T9YdOGWfVf71CaM8BnGy1txODzDsFF5c+KWICsETj
 CzYA0Vghyy5KQzu9RlYP1glBIBwpfD8bJyizJfISUmyCnuLb6LbC3qS3W3EF7UNk
 YnLVhSWUtZnqmRZ8MBYWQ9pkAi8DJPvgzpF9pJG/ffEnU16PGDX1shP1pX7JWFH2
 OMUDjuOGaw==
 =yRAK
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmLF8bsACgkQmmx57+YA
 GNn5/w/9E/mTfChCT53UytBGSEzr9Zl7olNZkOoS+21rSiCYSL+4XUifGbdw8oaH
 IX1HTNoKNFKhV1qsp4Dh6ClJN5fBG0UyVUO70OrTVo3dI6/9ZN2aN28+aIMQgzRw
 yv8IDLyBSoMtSCircuVjfO6KX78Mhtew+3UvljbNDnQuEMbyHxAe7hvsIZFBL5RX
 9FnkYsMGs7wctblBe2sbZMVvYmuRgs2qNHthWwwCpRwf2IgWWsTRtjpMgA25QQpm
 c/G4aHTlc1c4kOVmnjAOm5XGLn33S2VK1tt0/Dcl3GcdfqH6X9FTpvftYCRs0HiD
 MidmQmonpWMS6XXmaAubEmtRbFldGY/MzDSTxaLsQZSKbVBh8WgcnB2iw3lkhcGr
 ewck/idIRfJINh/bJJ3LsrjX5TTBWkV0dp3LKEUpfXOQV9d+uzB4YwmOY7xoA1QR
 iZUrPrGFmqweq2FnKiFJBg08bLEU9IPE8y4HVIx+uih/Djwegcc2YdTK5ye7QxnC
 MiEMT76PZJI7MEkfQjDiDfJLwDRBkOY0ZqpaXFg5b4yu9LpNsCNyi3nHV+w7D129
 iwTQaaIAhPq7TFOBlG8at/kjTIO8hWcX5di6VASHXVmbm+5ULBlwHguyjpO+xgrj
 NdoiSOxunPmhJrL4od7uJOgx9QHKhg8qmq78oLTCJUbUpu3taBo=
 =I0d2
 -----END PGP SIGNATURE-----

Merge tag 'dt-cleanup-5.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/dt

Cleanup of ARM DTS for v5.20, part two

Series of cleanups for ARM DTS - white-spaces, gpio-key subnode names
and gpio-key properties for more boards: TI, Marvell, AT91 and Aspeed.

* tag 'dt-cleanup-5.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: aspeed: correct gpio-keys properties
  ARM: dts: aspeed: align gpio-key node names with dtschema
  ARM: dts: at91: drop unneeded status from gpio-keys
  ARM: dts: at91: correct gpio-keys properties
  ARM: dts: at91: align gpio-key node names with dtschema
  ARM: dts: omap: correct gpio-keys properties
  ARM: dts: omap: align gpio-key node names with dtschema
  ARM: dts: marvell: correct gpio-keys properties
  ARM: dts: marvell: align gpio-key node names with dtschema
  ARM: dts: omap: adjust whitespace around '='
  ARM: dts: ti: adjust whitespace around '='

Link: https://lore.kernel.org/r/20220706163754.33064-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-07-06 22:34:02 +02:00
commit 72e76dc2f9
91 changed files with 301 additions and 348 deletions

View File

@ -19,7 +19,7 @@
regulator-name = "wlan-en-regulator"; regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
startup-delay-us= <70000>; startup-delay-us = <70000>;
/* WL_EN */ /* WL_EN */
gpio = <&gpio3 9 0>; gpio = <&gpio3 9 0>;

View File

@ -106,7 +106,7 @@
regulator-name = "wlan-en-regulator"; regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
startup-delay-us= <70000>; startup-delay-us = <70000>;
/* WL_EN */ /* WL_EN */
gpio = <&gpio3 9 0>; gpio = <&gpio3 9 0>;

View File

@ -18,7 +18,7 @@
regulator-name = "wlan-en-regulator"; regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
startup-delay-us= <70000>; startup-delay-us = <70000>;
/* WL_EN */ /* WL_EN */
gpio = <&gpio0 26 0>; gpio = <&gpio0 26 0>;

View File

@ -325,7 +325,7 @@ status = "okay";
tlv320aic23: codec@1a { tlv320aic23: codec@1a {
compatible = "ti,tlv320aic23"; compatible = "ti,tlv320aic23";
reg = <0x1a>; reg = <0x1a>;
#sound-dai-cells= <0>; #sound-dai-cells = <0>;
status = "okay"; status = "okay";
}; };
}; };
@ -491,7 +491,7 @@ status = "okay";
tx-num-evt = <1>; tx-num-evt = <1>;
rx-num-evt = <1>; rx-num-evt = <1>;
#sound-dai-cells= <0>; #sound-dai-cells = <0>;
status = "okay"; status = "okay";
}; };

View File

@ -92,20 +92,18 @@
0x0201006c>; /* DOWN */ 0x0201006c>; /* DOWN */
}; };
gpio_keys: volume_keys0 { gpio_keys: volume-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat; autorepeat;
switch9 { switch-9 {
label = "volume-up"; label = "volume-up";
linux,code = <115>; linux,code = <115>;
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
switch10 { switch-10 {
label = "volume-down"; label = "volume-down";
linux,code = <114>; linux,code = <114>;
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;

View File

@ -33,8 +33,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&guardian_button_pins>; pinctrl-0 = <&guardian_button_pins>;
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
select-button { select-button {
label = "guardian-select-button"; label = "guardian-select-button";

View File

@ -166,10 +166,8 @@
&buttons { &buttons {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&push_button_pins>; pinctrl-0 = <&push_button_pins>;
#address-cells = <1>;
#size-cells = <0>;
button@0 { button-0 {
label = "push_button"; label = "push_button";
linux,code = <0x100>; linux,code = <0x100>;
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;

View File

@ -378,10 +378,8 @@
&buttons { &buttons {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&push_button_pins>; pinctrl-0 = <&push_button_pins>;
#address-cells = <1>;
#size-cells = <0>;
button@0 { button-0 {
label = "push_button"; label = "push_button";
linux,code = <0x100>; linux,code = <0x100>;
gpios = <&gpio3 21 GPIO_ACTIVE_LOW>; gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;

View File

@ -54,14 +54,14 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_buttons_pins>; pinctrl-0 = <&user_buttons_pins>;
button@0 { button-0 {
label = "home"; label = "home";
linux,code = <KEY_HOME>; linux,code = <KEY_HOME>;
gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
wakeup-source; wakeup-source;
}; };
button@1 { button-1 {
label = "menu"; label = "menu";
linux,code = <KEY_MENU>; linux,code = <KEY_MENU>;
gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;

View File

@ -596,24 +596,22 @@
&buttons { &buttons {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_buttons_pins>; pinctrl-0 = <&user_buttons_pins>;
#address-cells = <1>;
#size-cells = <0>;
button0 { button-0 {
label = "home"; label = "home";
linux,code = <KEY_HOME>; linux,code = <KEY_HOME>;
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
button1 { button-1 {
label = "menu"; label = "menu";
linux,code = <KEY_MENU>; linux,code = <KEY_MENU>;
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
buttons2 { button-2 {
label = "power"; label = "power";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;

View File

@ -23,7 +23,7 @@
regulator-name = "wlan-en-regulator"; regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
startup-delay-us= <100000>; startup-delay-us = <100000>;
}; };
}; };

View File

@ -36,10 +36,10 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
back_button { back-button {
label = "Back Button"; label = "Back Button";
gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_BACK>; linux,code = <KEY_BACK>;
@ -47,7 +47,7 @@
wakeup-source; wakeup-source;
}; };
front_button { front-button {
label = "Front Button"; label = "Front Button";
gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_FRONT>; linux,code = <KEY_FRONT>;

View File

@ -70,61 +70,61 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <100>; poll-interval = <100>;
record { key-record {
label = "Record"; label = "Record";
/* linux,code = <BTN_0>; */ /* linux,code = <BTN_0>; */
gpios = <&tca6416_2 15 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 15 GPIO_ACTIVE_LOW>;
}; };
play { key-play {
label = "Play"; label = "Play";
linux,code = <KEY_PLAY>; linux,code = <KEY_PLAY>;
gpios = <&tca6416_2 14 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 14 GPIO_ACTIVE_LOW>;
}; };
Stop { key-stop {
label = "Stop"; label = "Stop";
linux,code = <KEY_STOP>; linux,code = <KEY_STOP>;
gpios = <&tca6416_2 13 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 13 GPIO_ACTIVE_LOW>;
}; };
fwd { key-fwd {
label = "FWD"; label = "FWD";
linux,code = <KEY_FASTFORWARD>; linux,code = <KEY_FASTFORWARD>;
gpios = <&tca6416_2 12 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 12 GPIO_ACTIVE_LOW>;
}; };
rwd { key-rwd {
label = "RWD"; label = "RWD";
linux,code = <KEY_REWIND>; linux,code = <KEY_REWIND>;
gpios = <&tca6416_2 11 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 11 GPIO_ACTIVE_LOW>;
}; };
shift { key-shift {
label = "Shift"; label = "Shift";
linux,code = <KEY_LEFTSHIFT>; linux,code = <KEY_LEFTSHIFT>;
gpios = <&tca6416_2 10 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 10 GPIO_ACTIVE_LOW>;
}; };
Mode { key-mode {
label = "Mode"; label = "Mode";
linux,code = <BTN_MODE>; linux,code = <BTN_MODE>;
gpios = <&tca6416_2 9 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 9 GPIO_ACTIVE_LOW>;
}; };
Menu { key-menu {
label = "Menu"; label = "Menu";
linux,code = <KEY_MENU>; linux,code = <KEY_MENU>;
gpios = <&tca6416_2 8 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 8 GPIO_ACTIVE_LOW>;
}; };
Up { key-up {
label = "Up"; label = "Up";
linux,code = <KEY_UP>; linux,code = <KEY_UP>;
gpios = <&tca6416_2 7 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 7 GPIO_ACTIVE_LOW>;
}; };
Down { key-down {
label = "Down"; label = "Down";
linux,code = <KEY_DOWN>; linux,code = <KEY_DOWN>;
gpios = <&tca6416_2 6 GPIO_ACTIVE_LOW>; gpios = <&tca6416_2 6 GPIO_ACTIVE_LOW>;
@ -137,14 +137,14 @@
tlv320aic23_1: codec@1a { tlv320aic23_1: codec@1a {
compatible = "ti,tlv320aic23"; compatible = "ti,tlv320aic23";
reg = <0x1a>; reg = <0x1a>;
#sound-dai-cells= <0>; #sound-dai-cells = <0>;
status = "okay"; status = "okay";
}; };
tlv320aic23_2: codec@1b { tlv320aic23_2: codec@1b {
compatible = "ti,tlv320aic23"; compatible = "ti,tlv320aic23";
reg = <0x1b>; reg = <0x1b>;
#sound-dai-cells= <0>; #sound-dai-cells = <0>;
status = "okay"; status = "okay";
}; };
}; };
@ -154,7 +154,7 @@
tlv320aic23_3: codec@1a { tlv320aic23_3: codec@1a {
compatible = "ti,tlv320aic23"; compatible = "ti,tlv320aic23";
reg = <0x1a>; reg = <0x1a>;
#sound-dai-cells= <0>; #sound-dai-cells = <0>;
status = "okay"; status = "okay";
}; };

View File

@ -37,55 +37,55 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <100>; poll-interval = <100>;
user_pb { button-user {
label = "User Push Button"; label = "User Push Button";
linux,code = <BTN_0>; linux,code = <BTN_0>;
gpios = <&tca6416 5 GPIO_ACTIVE_LOW>; gpios = <&tca6416 5 GPIO_ACTIVE_LOW>;
}; };
user_sw_1 { switch-1 {
label = "User Switch 1"; label = "User Switch 1";
linux,code = <BTN_1>; linux,code = <BTN_1>;
gpios = <&tca6416 8 GPIO_ACTIVE_LOW>; gpios = <&tca6416 8 GPIO_ACTIVE_LOW>;
}; };
user_sw_2 { switch-2 {
label = "User Switch 2"; label = "User Switch 2";
linux,code = <BTN_2>; linux,code = <BTN_2>;
gpios = <&tca6416 9 GPIO_ACTIVE_LOW>; gpios = <&tca6416 9 GPIO_ACTIVE_LOW>;
}; };
user_sw_3 { switch-3 {
label = "User Switch 3"; label = "User Switch 3";
linux,code = <BTN_3>; linux,code = <BTN_3>;
gpios = <&tca6416 10 GPIO_ACTIVE_LOW>; gpios = <&tca6416 10 GPIO_ACTIVE_LOW>;
}; };
user_sw_4 { switch-4 {
label = "User Switch 4"; label = "User Switch 4";
linux,code = <BTN_4>; linux,code = <BTN_4>;
gpios = <&tca6416 11 GPIO_ACTIVE_LOW>; gpios = <&tca6416 11 GPIO_ACTIVE_LOW>;
}; };
user_sw_5 { switch-5 {
label = "User Switch 5"; label = "User Switch 5";
linux,code = <BTN_5>; linux,code = <BTN_5>;
gpios = <&tca6416 12 GPIO_ACTIVE_LOW>; gpios = <&tca6416 12 GPIO_ACTIVE_LOW>;
}; };
user_sw_6 { switch-6 {
label = "User Switch 6"; label = "User Switch 6";
linux,code = <BTN_6>; linux,code = <BTN_6>;
gpios = <&tca6416 13 GPIO_ACTIVE_LOW>; gpios = <&tca6416 13 GPIO_ACTIVE_LOW>;
}; };
user_sw_7 { switch-7 {
label = "User Switch 7"; label = "User Switch 7";
linux,code = <BTN_7>; linux,code = <BTN_7>;
gpios = <&tca6416 14 GPIO_ACTIVE_LOW>; gpios = <&tca6416 14 GPIO_ACTIVE_LOW>;
}; };
user_sw_8 { switch-8 {
label = "User Switch 8"; label = "User Switch 8";
linux,code = <BTN_8>; linux,code = <BTN_8>;
gpios = <&tca6416 15 GPIO_ACTIVE_LOW>; gpios = <&tca6416 15 GPIO_ACTIVE_LOW>;

View File

@ -213,7 +213,7 @@
u48: pca9575@22 { u48: pca9575@22 {
compatible = "nxp,pca9575"; compatible = "nxp,pca9575";
reg=<0x22>; reg = <0x22>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
@ -232,7 +232,7 @@
u59: pca9575@23 { u59: pca9575@23 {
compatible = "nxp,pca9575"; compatible = "nxp,pca9575";
reg=<0x23>; reg = <0x23>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-line-names = gpio-line-names =

View File

@ -98,14 +98,12 @@
vin-supply = <&v1_5dreg>; vin-supply = <&v1_5dreg>;
}; };
gpio_keys: gpio_keys { gpio_keys: gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gpio_keys_pins_default>; pinctrl-0 = <&gpio_keys_pins_default>;
#address-cells = <1>;
#size-cells = <0>;
switch0 { switch-0 {
label = "power-button"; label = "power-button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;

View File

@ -2407,7 +2407,7 @@
adc { adc {
#io-channel-cells = <1>; #io-channel-cells = <1>;
compatible ="ti,am4372-adc"; compatible = "ti,am4372-adc";
}; };
}; };
}; };

View File

@ -75,25 +75,25 @@
pinctrl-0 = <&pmx_buttons>; pinctrl-0 = <&pmx_buttons>;
pinctrl-names = "default"; pinctrl-names = "default";
power { button-power {
label = "Power Button"; label = "Power Button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
}; };
reset { button-reset {
label = "Reset Button"; label = "Reset Button";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
}; };
usb1 { button-usb1 {
label = "USB1 Button"; label = "USB1 Button";
linux,code = <BTN_0>; linux,code = <BTN_0>;
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
}; };
usb2 { button-usb2 {
label = "USB2 Button"; label = "USB2 Button";
linux,code = <BTN_1>; linux,code = <BTN_1>;
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;

View File

@ -84,8 +84,6 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
button { button {
label = "Software Button"; label = "Software Button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;

View File

@ -108,22 +108,20 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
power { button-power {
label = "Power button"; label = "Power button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
debounce-interval = <100>; debounce-interval = <100>;
}; };
backup { button-backup {
label = "Backup button"; label = "Backup button";
linux,code = <KEY_OPTION>; linux,code = <KEY_OPTION>;
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
debounce-interval = <100>; debounce-interval = <100>;
}; };
reset { button-reset {
label = "Reset Button"; label = "Reset Button";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;

View File

@ -83,22 +83,20 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
power { button-power {
label = "Power button"; label = "Power button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
debounce-interval = <100>; debounce-interval = <100>;
}; };
reset { button-reset {
label = "Reset Button"; label = "Reset Button";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
debounce-interval = <100>; debounce-interval = <100>;
}; };
button { button-usb {
label = "USB VBUS error"; label = "USB VBUS error";
linux,code = <KEY_UNKNOWN>; linux,code = <KEY_UNKNOWN>;
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;

View File

@ -24,7 +24,7 @@
pinctrl-0 = <&front_button_pins>; pinctrl-0 = <&front_button_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
factory_default { key-factory-default {
label = "Factory Default"; label = "Factory Default";
gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;

View File

@ -256,14 +256,14 @@
pinctrl-0 = <&cf_gtr_rear_button_pins &cf_gtr_front_button_pins>; pinctrl-0 = <&cf_gtr_rear_button_pins &cf_gtr_front_button_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
button_0 { button-0 {
label = "Rear Button"; label = "Rear Button";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
linux,can-disable; linux,can-disable;
linux,code = <BTN_0>; linux,code = <BTN_0>;
}; };
button_1 { button-1 {
label = "Front Button"; label = "Front Button";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
linux,can-disable; linux,can-disable;

View File

@ -53,13 +53,13 @@
pinctrl-0 = <&gpio_keys_pins>; pinctrl-0 = <&gpio_keys_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
}; };
reset { button-reset {
label = "Factory Reset Button"; label = "Factory Reset Button";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;

View File

@ -19,7 +19,7 @@
pinctrl-0 = <&rear_button_pins>; pinctrl-0 = <&rear_button_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
button_0 { button-0 {
/* The rear SW3 button */ /* The rear SW3 button */
label = "Rear Button"; label = "Rear Button";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;

View File

@ -35,7 +35,7 @@
pinctrl-0 = <&rear_button_pins>; pinctrl-0 = <&rear_button_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
button_0 { button-0 {
/* The rear SW3 button */ /* The rear SW3 button */
label = "Rear Button"; label = "Rear Button";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;

View File

@ -69,14 +69,12 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&keys_pin>; pinctrl-0 = <&keys_pin>;
pinctrl-names = "default"; pinctrl-names = "default";
reset { button-reset {
label = "Factory Reset Button"; label = "Factory Reset Button";
linux,code = <KEY_SETUP>; linux,code = <KEY_SETUP>;
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;

View File

@ -172,20 +172,18 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&keys_pin>; pinctrl-0 = <&keys_pin>;
pinctrl-names = "default"; pinctrl-names = "default";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
}; };
reset { button-reset {
label = "Factory Reset Button"; label = "Factory Reset Button";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;

View File

@ -97,12 +97,10 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
init { button-init {
label = "Init Button"; label = "Init Button";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;

View File

@ -100,91 +100,91 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
shutdown_ack { event-shutdown-ack {
label = "SHUTDOWN_ACK"; label = "SHUTDOWN_ACK";
gpios = <&gpio ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(G, 2)>; linux,code = <ASPEED_GPIO(G, 2)>;
}; };
reboot_ack { event-reboot-ack {
label = "REBOOT_ACK"; label = "REBOOT_ACK";
gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 3)>; linux,code = <ASPEED_GPIO(J, 3)>;
}; };
S0_overtemp { event-s0-overtemp {
label = "S0_OVERTEMP"; label = "S0_OVERTEMP";
gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(G, 3)>; linux,code = <ASPEED_GPIO(G, 3)>;
}; };
S0_hightemp { event-s0-hightemp {
label = "S0_HIGHTEMP"; label = "S0_HIGHTEMP";
gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 0)>; linux,code = <ASPEED_GPIO(J, 0)>;
}; };
S0_cpu_fault { event-s0-cpu-fault {
label = "S0_CPU_FAULT"; label = "S0_CPU_FAULT";
gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>; gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>;
linux,code = <ASPEED_GPIO(J, 1)>; linux,code = <ASPEED_GPIO(J, 1)>;
}; };
S0_scp_auth_fail { event-s0-scp-auth-fail {
label = "S0_SCP_AUTH_FAIL"; label = "S0_SCP_AUTH_FAIL";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;
}; };
S1_scp_auth_fail { event-s1-scp-auth-fail {
label = "S1_SCP_AUTH_FAIL"; label = "S1_SCP_AUTH_FAIL";
gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Z, 5)>; linux,code = <ASPEED_GPIO(Z, 5)>;
}; };
S1_overtemp { event-s1-overtemp {
label = "S1_OVERTEMP"; label = "S1_OVERTEMP";
gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Z, 6)>; linux,code = <ASPEED_GPIO(Z, 6)>;
}; };
S1_hightemp { event-s1-hightemp {
label = "S1_HIGHTEMP"; label = "S1_HIGHTEMP";
gpios = <&gpio ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(AB, 0)>; linux,code = <ASPEED_GPIO(AB, 0)>;
}; };
S1_cpu_fault { event-s1-cpu-fault {
label = "S1_CPU_FAULT"; label = "S1_CPU_FAULT";
gpios = <&gpio ASPEED_GPIO(Z, 1) GPIO_ACTIVE_HIGH>; gpios = <&gpio ASPEED_GPIO(Z, 1) GPIO_ACTIVE_HIGH>;
linux,code = <ASPEED_GPIO(Z, 1)>; linux,code = <ASPEED_GPIO(Z, 1)>;
}; };
id_button { event-id {
label = "ID_BUTTON"; label = "ID_BUTTON";
gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Q, 5)>; linux,code = <ASPEED_GPIO(Q, 5)>;
}; };
psu1_vin_good { event-psu1-vin-good {
label = "PSU1_VIN_GOOD"; label = "PSU1_VIN_GOOD";
gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 4)>; linux,code = <ASPEED_GPIO(H, 4)>;
}; };
psu2_vin_good { event-psu2-vin-good {
label = "PSU2_VIN_GOOD"; label = "PSU2_VIN_GOOD";
gpios = <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 5)>; linux,code = <ASPEED_GPIO(H, 5)>;
}; };
psu1_present { event-psu1-present {
label = "PSU1_PRESENT"; label = "PSU1_PRESENT";
gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(I, 0)>; linux,code = <ASPEED_GPIO(I, 0)>;
}; };
psu2_present { event-psu2-present {
label = "PSU2_PRESENT"; label = "PSU2_PRESENT";
gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(I, 1)>; linux,code = <ASPEED_GPIO(I, 1)>;

View File

@ -100,7 +100,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
burn-in-signal { event-burn-in-signal {
label = "burn-in"; label = "burn-in";
gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(R, 5)>; linux,code = <ASPEED_GPIO(R, 5)>;
@ -111,139 +111,139 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <1000>; poll-interval = <1000>;
rear-riser1-presence { event-rear-riser1-presence {
label = "rear-riser1-presence"; label = "rear-riser1-presence";
gpios = <&pca0 1 GPIO_ACTIVE_LOW>; gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
linux,code = <1>; linux,code = <1>;
}; };
alrt-pvddq-cpu0 { event-alrt-pvddq-cpu0 {
label = "alrt-pvddq-cpu0"; label = "alrt-pvddq-cpu0";
gpios = <&pca0 8 GPIO_ACTIVE_LOW>; gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
linux,code = <2>; linux,code = <2>;
}; };
rear-riser0-presence { event-rear-riser0-presence {
label = "rear-riser0-presence"; label = "rear-riser0-presence";
gpios = <&pca0 9 GPIO_ACTIVE_LOW>; gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
linux,code = <3>; linux,code = <3>;
}; };
fault-pvddq-cpu0 { event-fault-pvddq-cpu0 {
label = "fault-pvddq-cpu0"; label = "fault-pvddq-cpu0";
gpios = <&pca0 10 GPIO_ACTIVE_LOW>; gpios = <&pca0 10 GPIO_ACTIVE_LOW>;
linux,code = <4>; linux,code = <4>;
}; };
alrt-pvddq-cpu1 { event-alrt-pvddq-cpu1 {
label = "alrt-pvddq-cpu1"; label = "alrt-pvddq-cpu1";
gpios = <&pca0 11 GPIO_ACTIVE_LOW>; gpios = <&pca0 11 GPIO_ACTIVE_LOW>;
linux,code = <5>; linux,code = <5>;
}; };
fault-pvddq-cpu1 { event-fault-pvddq-cpu1 {
label = "alrt-pvddq-cpu1"; label = "alrt-pvddq-cpu1";
gpios = <&pca0 12 GPIO_ACTIVE_LOW>; gpios = <&pca0 12 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
fault-pvccin-cpu1 { event-fault-pvccin-cpu1 {
label = "fault-pvccin-cpuq"; label = "fault-pvccin-cpuq";
gpios = <&pca0 13 GPIO_ACTIVE_LOW>; gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;
}; };
bmc-rom0-wp { event-bmc-rom0-wp {
label = "bmc-rom0-wp"; label = "bmc-rom0-wp";
gpios = <&pca1 0 GPIO_ACTIVE_LOW>; gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
linux,code = <8>; linux,code = <8>;
}; };
bmc-rom1-wp { event-bmc-rom1-wp {
label = "bmc-rom1-wp"; label = "bmc-rom1-wp";
gpios = <&pca1 1 GPIO_ACTIVE_LOW>; gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
linux,code = <9>; linux,code = <9>;
}; };
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca1 2 GPIO_ACTIVE_LOW>; gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
linux,code = <10>; linux,code = <10>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca1 3 GPIO_ACTIVE_LOW>; gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
linux,code = <11>; linux,code = <11>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca1 4 GPIO_ACTIVE_LOW>; gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
linux,code = <12>; linux,code = <12>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca1 5 GPIO_ACTIVE_LOW>; gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
linux,code = <13>; linux,code = <13>;
}; };
fan4-presence { event-fan4-presence {
label = "fan4-presence"; label = "fan4-presence";
gpios = <&pca1 6 GPIO_ACTIVE_LOW>; gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
linux,code = <14>; linux,code = <14>;
}; };
fan5-presence { event-fan5-presence {
label = "fan5-presence"; label = "fan5-presence";
gpios = <&pca1 7 GPIO_ACTIVE_LOW>; gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
linux,code = <15>; linux,code = <15>;
}; };
front-bp1-presence { event-front-bp1-presence {
label = "front-bp1-presence"; label = "front-bp1-presence";
gpios = <&pca1 8 GPIO_ACTIVE_LOW>; gpios = <&pca1 8 GPIO_ACTIVE_LOW>;
linux,code = <16>; linux,code = <16>;
}; };
rear-bp-presence { event-rear-bp-presence {
label = "rear-bp-presence"; label = "rear-bp-presence";
gpios = <&pca1 9 GPIO_ACTIVE_LOW>; gpios = <&pca1 9 GPIO_ACTIVE_LOW>;
linux,code = <17>; linux,code = <17>;
}; };
fault-pvccin-cpu0 { event-fault-pvccin-cpu0 {
label = "fault-pvccin-cpu0"; label = "fault-pvccin-cpu0";
gpios = <&pca1 10 GPIO_ACTIVE_LOW>; gpios = <&pca1 10 GPIO_ACTIVE_LOW>;
linux,code = <18>; linux,code = <18>;
}; };
alrt-p1v05-pvcc { event-alrt-p1v05-pvcc {
label = "alrt-p1v05-pvcc1"; label = "alrt-p1v05-pvcc1";
gpios = <&pca1 11 GPIO_ACTIVE_LOW>; gpios = <&pca1 11 GPIO_ACTIVE_LOW>;
linux,code = <19>; linux,code = <19>;
}; };
fault-p1v05-pvccio { event-fault-p1v05-pvccio {
label = "alrt-p1v05-pvcc1"; label = "alrt-p1v05-pvcc1";
gpios = <&pca1 12 GPIO_ACTIVE_LOW>; gpios = <&pca1 12 GPIO_ACTIVE_LOW>;
linux,code = <20>; linux,code = <20>;
}; };
alrt-p1v8-pvccio { event-alrt-p1v8-pvccio {
label = "alrt-p1v8-pvccio"; label = "alrt-p1v8-pvccio";
gpios = <&pca1 13 GPIO_ACTIVE_LOW>; gpios = <&pca1 13 GPIO_ACTIVE_LOW>;
linux,code = <21>; linux,code = <21>;
}; };
fault-p1v8-pvccio { event-fault-p1v8-pvccio {
label = "fault-p1v8-pvccio"; label = "fault-p1v8-pvccio";
gpios = <&pca1 14 GPIO_ACTIVE_LOW>; gpios = <&pca1 14 GPIO_ACTIVE_LOW>;
linux,code = <22>; linux,code = <22>;
}; };
front-bp0-presence { event-front-bp0-presence {
label = "front-bp0-presence"; label = "front-bp0-presence";
gpios = <&pca1 15 GPIO_ACTIVE_LOW>; gpios = <&pca1 15 GPIO_ACTIVE_LOW>;
linux,code = <23>; linux,code = <23>;

View File

@ -189,29 +189,27 @@
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca0 15 GPIO_ACTIVE_LOW>; gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
linux,code = <15>; linux,code = <15>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca0 14 GPIO_ACTIVE_LOW>; gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
linux,code = <14>; linux,code = <14>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca0 13 GPIO_ACTIVE_LOW>; gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
linux,code = <13>; linux,code = <13>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca0 12 GPIO_ACTIVE_LOW>; gpios = <&pca0 12 GPIO_ACTIVE_LOW>;
linux,code = <12>; linux,code = <12>;

View File

@ -179,41 +179,39 @@
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca0 6 GPIO_ACTIVE_LOW>; gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca0 7 GPIO_ACTIVE_LOW>; gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca0 8 GPIO_ACTIVE_LOW>; gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
linux,code = <8>; linux,code = <8>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca0 9 GPIO_ACTIVE_LOW>; gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
linux,code = <9>; linux,code = <9>;
}; };
fan4-presence { event-fan4-presence {
label = "fan4-presence"; label = "fan4-presence";
gpios = <&pca0 10 GPIO_ACTIVE_LOW>; gpios = <&pca0 10 GPIO_ACTIVE_LOW>;
linux,code = <10>; linux,code = <10>;
}; };
fan5-presence { event-fan5-presence {
label = "fan5-presence"; label = "fan5-presence";
gpios = <&pca0 11 GPIO_ACTIVE_LOW>; gpios = <&pca0 11 GPIO_ACTIVE_LOW>;
linux,code = <11>; linux,code = <11>;

View File

@ -73,19 +73,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(B, 3)>; linux,code = <ASPEED_GPIO(B, 3)>;
}; };
ps0-presence { event-ps0-presence {
label = "ps0-presence"; label = "ps0-presence";
gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 0)>; linux,code = <ASPEED_GPIO(F, 0)>;
}; };
ps1-presence { event-ps1-presence {
label = "ps1-presence"; label = "ps1-presence";
gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 1)>; linux,code = <ASPEED_GPIO(F, 1)>;
@ -97,49 +97,49 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca1 0 GPIO_ACTIVE_LOW>; gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
linux,code = <1>; linux,code = <1>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca1 1 GPIO_ACTIVE_LOW>; gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
linux,code = <2>; linux,code = <2>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca1 2 GPIO_ACTIVE_LOW>; gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
linux,code = <3>; linux,code = <3>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca1 3 GPIO_ACTIVE_LOW>; gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
linux,code = <4>; linux,code = <4>;
}; };
fan4-presence { event-fan4-presence {
label = "fan4-presence"; label = "fan4-presence";
gpios = <&pca1 4 GPIO_ACTIVE_LOW>; gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
linux,code = <5>; linux,code = <5>;
}; };
fan5-presence { event-fan5-presence {
label = "fan5-presence"; label = "fan5-presence";
gpios = <&pca1 5 GPIO_ACTIVE_LOW>; gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
fan6-presence { event-fan6-presence {
label = "fan6-presence"; label = "fan6-presence";
gpios = <&pca1 6 GPIO_ACTIVE_LOW>; gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;
}; };
fan7-presence { event-fan7-presence {
label = "fan7-presence"; label = "fan7-presence";
gpios = <&pca1 7 GPIO_ACTIVE_LOW>; gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
linux,code = <8>; linux,code = <8>;

View File

@ -92,30 +92,31 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
air-water { event-air-water {
label = "air-water"; label = "air-water";
gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 6)>; linux,code = <ASPEED_GPIO(F, 6)>;
}; };
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;
}; };
ps0-presence { event-ps0-presence {
label = "ps0-presence"; label = "ps0-presence";
gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Z, 2)>; linux,code = <ASPEED_GPIO(Z, 2)>;
}; };
ps1-presence { event-ps1-presence {
label = "ps1-presence"; label = "ps1-presence";
gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Z, 0)>; linux,code = <ASPEED_GPIO(Z, 0)>;
}; };
id-button {
button-id {
label = "id-button"; label = "id-button";
gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 1)>; linux,code = <ASPEED_GPIO(F, 1)>;
@ -126,37 +127,37 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca9552 9 GPIO_ACTIVE_LOW>; gpios = <&pca9552 9 GPIO_ACTIVE_LOW>;
linux,code = <9>; linux,code = <9>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca9552 10 GPIO_ACTIVE_LOW>; gpios = <&pca9552 10 GPIO_ACTIVE_LOW>;
linux,code = <10>; linux,code = <10>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca9552 11 GPIO_ACTIVE_LOW>; gpios = <&pca9552 11 GPIO_ACTIVE_LOW>;
linux,code = <11>; linux,code = <11>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; gpios = <&pca9552 12 GPIO_ACTIVE_LOW>;
linux,code = <12>; linux,code = <12>;
}; };
fan4-presence { event-fan4-presence {
label = "fan4-presence"; label = "fan4-presence";
gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; gpios = <&pca9552 13 GPIO_ACTIVE_LOW>;
linux,code = <13>; linux,code = <13>;
}; };
fan5-presence { event-fan5-presence {
label = "fan5-presence"; label = "fan5-presence";
gpios = <&pca9552 14 GPIO_ACTIVE_LOW>; gpios = <&pca9552 14 GPIO_ACTIVE_LOW>;
linux,code = <14>; linux,code = <14>;

View File

@ -46,31 +46,31 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
air-water { event-air-water {
label = "air-water"; label = "air-water";
gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 6)>; linux,code = <ASPEED_GPIO(F, 6)>;
}; };
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;
}; };
ps0-presence { event-ps0-presence {
label = "ps0-presence"; label = "ps0-presence";
gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Z, 2)>; linux,code = <ASPEED_GPIO(Z, 2)>;
}; };
ps1-presence { event-ps1-presence {
label = "ps1-presence"; label = "ps1-presence";
gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(Z, 0)>; linux,code = <ASPEED_GPIO(Z, 0)>;
}; };
id-button { button-id {
label = "id-button"; label = "id-button";
gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 1)>; linux,code = <ASPEED_GPIO(F, 1)>;
@ -81,31 +81,31 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca9552 9 GPIO_ACTIVE_LOW>; gpios = <&pca9552 9 GPIO_ACTIVE_LOW>;
linux,code = <9>; linux,code = <9>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca9552 10 GPIO_ACTIVE_LOW>; gpios = <&pca9552 10 GPIO_ACTIVE_LOW>;
linux,code = <10>; linux,code = <10>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca9552 11 GPIO_ACTIVE_LOW>; gpios = <&pca9552 11 GPIO_ACTIVE_LOW>;
linux,code = <11>; linux,code = <11>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; gpios = <&pca9552 12 GPIO_ACTIVE_LOW>;
linux,code = <12>; linux,code = <12>;
}; };
fan4-presence { event-fan4-presence {
label = "fan4-presence"; label = "fan4-presence";
gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; gpios = <&pca9552 13 GPIO_ACTIVE_LOW>;
linux,code = <13>; linux,code = <13>;

View File

@ -96,7 +96,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;

View File

@ -73,7 +73,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(P, 5)>; linux,code = <ASPEED_GPIO(P, 5)>;

View File

@ -87,7 +87,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;

View File

@ -38,37 +38,37 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
air-water { event-air-water {
label = "air-water"; label = "air-water";
gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(B, 5)>; linux,code = <ASPEED_GPIO(B, 5)>;
}; };
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;
}; };
ps0-presence { event-ps0-presence {
label = "ps0-presence"; label = "ps0-presence";
gpios = <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(R, 7)>; linux,code = <ASPEED_GPIO(R, 7)>;
}; };
ps1-presence { event-ps1-presence {
label = "ps1-presence"; label = "ps1-presence";
gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(N, 0)>; linux,code = <ASPEED_GPIO(N, 0)>;
}; };
oppanel-presence { event-oppanel-presence {
label = "oppanel-presence"; label = "oppanel-presence";
gpios = <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(A, 7)>; linux,code = <ASPEED_GPIO(A, 7)>;
}; };
opencapi-riser-presence { event-opencapi-riser-presence {
label = "opencapi-riser-presence"; label = "opencapi-riser-presence";
gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(I, 0)>; linux,code = <ASPEED_GPIO(I, 0)>;
@ -84,55 +84,55 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <1000>; poll-interval = <1000>;
scm0-presence { event-scm0-presence {
label = "scm0-presence"; label = "scm0-presence";
gpios = <&pca9552 6 GPIO_ACTIVE_LOW>; gpios = <&pca9552 6 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
scm1-presence { event-scm1-presence {
label = "scm1-presence"; label = "scm1-presence";
gpios = <&pca9552 7 GPIO_ACTIVE_LOW>; gpios = <&pca9552 7 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;
}; };
cpu0vrm-presence { event-cpu0vrm-presence {
label = "cpu0vrm-presence"; label = "cpu0vrm-presence";
gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; gpios = <&pca9552 12 GPIO_ACTIVE_LOW>;
linux,code = <12>; linux,code = <12>;
}; };
cpu1vrm-presence { event-cpu1vrm-presence {
label = "cpu1vrm-presence"; label = "cpu1vrm-presence";
gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; gpios = <&pca9552 13 GPIO_ACTIVE_LOW>;
linux,code = <13>; linux,code = <13>;
}; };
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca0 5 GPIO_ACTIVE_LOW>; gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
linux,code = <5>; linux,code = <5>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca0 6 GPIO_ACTIVE_LOW>; gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca0 7 GPIO_ACTIVE_LOW>; gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca0 8 GPIO_ACTIVE_LOW>; gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
linux,code = <8>; linux,code = <8>;
}; };
fanboost-presence { event-fanboost-presence {
label = "fanboost-presence"; label = "fanboost-presence";
gpios = <&pca0 9 GPIO_ACTIVE_LOW>; gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
linux,code = <9>; linux,code = <9>;

View File

@ -50,13 +50,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
ps0-presence { event-ps0-presence {
label = "ps0-presence"; label = "ps0-presence";
gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 3)>; linux,code = <ASPEED_GPIO(H, 3)>;
}; };
ps1-presence { event-ps1-presence {
label = "ps1-presence"; label = "ps1-presence";
gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(E, 5)>; linux,code = <ASPEED_GPIO(E, 5)>;
@ -65,29 +65,27 @@
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca0 4 GPIO_ACTIVE_LOW>; gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
linux,code = <4>; linux,code = <4>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca0 5 GPIO_ACTIVE_LOW>; gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
linux,code = <5>; linux,code = <5>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca0 6 GPIO_ACTIVE_LOW>; gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca0 7 GPIO_ACTIVE_LOW>; gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;

View File

@ -63,13 +63,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
button_checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
linux,code = <74>; linux,code = <74>;
gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
}; };
button_identify { event-identify {
label = "identify"; label = "identify";
linux,code = <152>; linux,code = <152>;
gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>;

View File

@ -51,25 +51,25 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
air-water { event-air-water {
label = "air-water"; label = "air-water";
gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(B, 5)>; linux,code = <ASPEED_GPIO(B, 5)>;
}; };
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>; linux,code = <ASPEED_GPIO(J, 2)>;
}; };
ps0-presence { event-ps0-presence {
label = "ps0-presence"; label = "ps0-presence";
gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(P, 7)>; linux,code = <ASPEED_GPIO(P, 7)>;
}; };
ps1-presence { event-ps1-presence {
label = "ps1-presence"; label = "ps1-presence";
gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(N, 0)>; linux,code = <ASPEED_GPIO(N, 0)>;
@ -85,25 +85,25 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <1000>; poll-interval = <1000>;
fan0-presence { event-fan0-presence {
label = "fan0-presence"; label = "fan0-presence";
gpios = <&pca0 4 GPIO_ACTIVE_LOW>; gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
linux,code = <4>; linux,code = <4>;
}; };
fan1-presence { event-fan1-presence {
label = "fan1-presence"; label = "fan1-presence";
gpios = <&pca0 5 GPIO_ACTIVE_LOW>; gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
linux,code = <5>; linux,code = <5>;
}; };
fan2-presence { event-fan2-presence {
label = "fan2-presence"; label = "fan2-presence";
gpios = <&pca0 6 GPIO_ACTIVE_LOW>; gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
linux,code = <6>; linux,code = <6>;
}; };
fan3-presence { event-fan3-presence {
label = "fan3-presence"; label = "fan3-presence";
gpios = <&pca0 7 GPIO_ACTIVE_LOW>; gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
linux,code = <7>; linux,code = <7>;

View File

@ -58,13 +58,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
checkstop { event-checkstop {
label = "checkstop"; label = "checkstop";
gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(F, 7)>; linux,code = <ASPEED_GPIO(F, 7)>;
}; };
pcie-e2b-present{ event-pcie-e2b-present{
label = "pcie-e2b-present"; label = "pcie-e2b-present";
gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(E, 7)>; linux,code = <ASPEED_GPIO(E, 7)>;

View File

@ -155,10 +155,10 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
btn { button {
label = "Button"; label = "Button";
gpios = <&pioC 4 GPIO_ACTIVE_LOW>; gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
linux,code = <0x103>; linux,code = <0x103>;

View File

@ -13,7 +13,7 @@
model = "Laird Workgroup Bridge 50N - Project Gatwick"; model = "Laird Workgroup Bridge 50N - Project Gatwick";
compatible = "laird,gatwick", "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; compatible = "laird,gatwick", "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
autorepeat; autorepeat;

View File

@ -28,19 +28,17 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
reset { button-reset {
label = "PB_RST"; label = "PB_RST";
gpios = <&pioB 30 GPIO_ACTIVE_HIGH>; gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
linux,code = <0x100>; linux,code = <0x100>;
wakeup-source; wakeup-source;
}; };
user { button-user {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioB 31 GPIO_ACTIVE_HIGH>; gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
linux,code = <0x101>; linux,code = <0x101>;

View File

@ -31,26 +31,24 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
prog { button-prog {
label = "PB_PROG"; label = "PB_PROG";
gpios = <&pioE 27 GPIO_ACTIVE_LOW>; gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
linux,code = <0x102>; linux,code = <0x102>;
wakeup-source; wakeup-source;
}; };
reset { button-reset {
label = "PB_RST"; label = "PB_RST";
gpios = <&pioE 29 GPIO_ACTIVE_LOW>; gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
linux,code = <0x100>; linux,code = <0x100>;
wakeup-source; wakeup-source;
}; };
user { button-user {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioE 31 GPIO_ACTIVE_HIGH>; gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
linux,code = <0x101>; linux,code = <0x101>;

View File

@ -55,7 +55,7 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default" , "default", "default", pinctrl-names = "default" , "default", "default",
"default", "default" ; "default", "default" ;
@ -68,35 +68,35 @@
&pinctrl_pio_zbe_rst>; &pinctrl_pio_zbe_rst>;
pinctrl-4 = <&pinctrl_pio_input>; pinctrl-4 = <&pinctrl_pio_input>;
SW1 { switch-1 {
label = "SW1"; label = "SW1";
gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
linux,code = <0x101>; linux,code = <0x101>;
wakeup-source; wakeup-source;
}; };
SW2 { switch-2 {
label = "SW2"; label = "SW2";
gpios = <&pioA PIN_PA18 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA18 GPIO_ACTIVE_LOW>;
linux,code = <0x102>; linux,code = <0x102>;
wakeup-source; wakeup-source;
}; };
SW3 { switch-3 {
label = "SW3"; label = "SW3";
gpios = <&pioA PIN_PA22 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA22 GPIO_ACTIVE_LOW>;
linux,code = <0x103>; linux,code = <0x103>;
wakeup-source; wakeup-source;
}; };
SW7 { switch-7 {
label = "SW7"; label = "SW7";
gpios = <&pioA PIN_PA26 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA26 GPIO_ACTIVE_LOW>;
linux,code = <0x107>; linux,code = <0x107>;
wakeup-source; wakeup-source;
}; };
SW8 { switch-8 {
label = "SW8"; label = "SW8";
gpios = <&pioA PIN_PA24 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA24 GPIO_ACTIVE_LOW>;
linux,code = <0x108>; linux,code = <0x108>;

View File

@ -36,17 +36,15 @@
gpio_keys { gpio_keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
prog { key-prog {
label = "PB_PROG"; label = "PB_PROG";
gpios = <&pioC 17 GPIO_ACTIVE_LOW>; gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
linux,code = <0x102>; linux,code = <0x102>;
wakeup-source; wakeup-source;
}; };
reset { key-reset {
label = "PB_RST"; label = "PB_RST";
gpios = <&pioC 16 GPIO_ACTIVE_LOW>; gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
linux,code = <0x100>; linux,code = <0x100>;

View File

@ -18,7 +18,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wakeup { key-wakeup {
label = "Wakeup"; label = "Wakeup";
linux,code = <10>; linux,code = <10>;
wakeup-source; wakeup-source;

View File

@ -198,10 +198,8 @@
gpio_keys { gpio_keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
user_pb { button-user {
label = "user_pb"; label = "user_pb";
gpios = <&pioB 10 GPIO_ACTIVE_LOW>; gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
linux,code = <28>; linux,code = <28>;

View File

@ -76,13 +76,12 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
status = "okay";
sw1 { button-1 {
label = "SW1"; label = "SW1";
gpios = <&pioD 18 GPIO_ACTIVE_LOW>; gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -478,13 +478,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
pb4 { button {
label = "USER"; label = "USER";
gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -26,14 +26,13 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
status = "okay";
sw4 { button-1 {
label = "USER BUTTON"; label = "USER BUTTON";
gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -42,14 +42,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
status = "okay";
sw4 { button-1 {
label = "USER_PB1"; label = "USER_PB1";
gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -396,13 +396,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
bp1 { button-1 {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -705,13 +705,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
bp1 { button {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -372,13 +372,13 @@
regulator-always-on; regulator-always-on;
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio>; pinctrl-0 = <&pinctrl_key_gpio>;
bp3 { button {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioE 29 GPIO_ACTIVE_LOW>; gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -242,13 +242,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio>; pinctrl-0 = <&pinctrl_key_gpio>;
pb_user1 { button {
label = "pb_user1"; label = "pb_user1";
gpios = <&pioE 8 GPIO_ACTIVE_HIGH>; gpios = <&pioE 8 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -269,13 +269,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio>; pinctrl-0 = <&pinctrl_key_gpio>;
pb_user1 { button {
label = "pb_user1"; label = "pb_user1";
gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
linux,code = <0x100>; linux,code = <0x100>;

View File

@ -45,13 +45,13 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>; pinctrl-0 = <&pinctrl_key_gpio_default>;
bp1 { button {
label = "PB_USER"; label = "PB_USER";
gpios = <&pioA PIN_PA12 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -12,13 +12,10 @@
model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)"; model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)";
compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9"; compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9";
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
irqbtn@18 { button {
reg = <18>;
label = "IRQBTN"; label = "IRQBTN";
linux,code = <99>; linux,code = <99>;
gpios = <&pioB 18 GPIO_ACTIVE_LOW>; gpios = <&pioB 18 GPIO_ACTIVE_LOW>;

View File

@ -13,21 +13,17 @@
model = "Laird Workgroup Bridge 50N - Atmel SAMA5D"; model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
btn0@10 { button-0 {
reg = <10>;
label = "BTNESC"; label = "BTNESC";
linux,code = <1>; /* ESC button */ linux,code = <1>; /* ESC button */
gpios = <&pioA 10 GPIO_ACTIVE_LOW>; gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
wakeup-source; wakeup-source;
}; };
irqbtn@31 { button-1 {
reg = <31>;
label = "IRQBTN"; label = "IRQBTN";
linux,code = <99>; /* SysReq button */ linux,code = <99>; /* SysReq button */
gpios = <&pioE 31 GPIO_ACTIVE_LOW>; gpios = <&pioE 31 GPIO_ACTIVE_LOW>;

View File

@ -144,17 +144,17 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
btn3 { button-3 {
label = "Button 3"; label = "Button 3";
gpios = <&pioA 30 GPIO_ACTIVE_LOW>; gpios = <&pioA 30 GPIO_ACTIVE_LOW>;
linux,code = <0x103>; linux,code = <0x103>;
wakeup-source; wakeup-source;
}; };
btn4 { button-4 {
label = "Button 4"; label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>; gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -211,31 +211,31 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
button_0 { button-0 {
label = "button_0"; label = "button_0";
gpios = <&pioA 27 GPIO_ACTIVE_LOW>; gpios = <&pioA 27 GPIO_ACTIVE_LOW>;
linux,code = <256>; linux,code = <256>;
wakeup-source; wakeup-source;
}; };
button_1 { button-1 {
label = "button_1"; label = "button_1";
gpios = <&pioA 26 GPIO_ACTIVE_LOW>; gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
linux,code = <257>; linux,code = <257>;
wakeup-source; wakeup-source;
}; };
button_2 { button-2 {
label = "button_2"; label = "button_2";
gpios = <&pioA 25 GPIO_ACTIVE_LOW>; gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
linux,code = <258>; linux,code = <258>;
wakeup-source; wakeup-source;
}; };
button_3 { button-3 {
label = "button_3"; label = "button_3";
gpios = <&pioA 24 GPIO_ACTIVE_LOW>; gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
linux,code = <259>; linux,code = <259>;

View File

@ -232,17 +232,17 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
left_click { button-left-click {
label = "left_click"; label = "left_click";
gpios = <&pioC 5 GPIO_ACTIVE_LOW>; gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
linux,code = <272>; linux,code = <272>;
wakeup-source; wakeup-source;
}; };
right_click { button-right-click {
label = "right_click"; label = "right_click";
gpios = <&pioC 4 GPIO_ACTIVE_LOW>; gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
linux,code = <273>; linux,code = <273>;

View File

@ -234,17 +234,17 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
btn3 { button-3 {
label = "Button 3"; label = "Button 3";
gpios = <&pioA 30 GPIO_ACTIVE_LOW>; gpios = <&pioA 30 GPIO_ACTIVE_LOW>;
linux,code = <0x103>; linux,code = <0x103>;
wakeup-source; wakeup-source;
}; };
btn4 { button-4 {
label = "Button 4"; label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>; gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -23,7 +23,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
user_btn1 { button {
label = "USER_BTN1"; label = "USER_BTN1";
gpios = <&pioA 24 GPIO_ACTIVE_LOW>; gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>; linux,code = <KEY_PROG1>;

View File

@ -343,48 +343,48 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
left_click { button-left-click {
label = "left_click"; label = "left_click";
gpios = <&pioB 6 GPIO_ACTIVE_LOW>; gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
linux,code = <272>; linux,code = <272>;
wakeup-source; wakeup-source;
}; };
right_click { button-right-click {
label = "right_click"; label = "right_click";
gpios = <&pioB 7 GPIO_ACTIVE_LOW>; gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
linux,code = <273>; linux,code = <273>;
wakeup-source; wakeup-source;
}; };
left { button-left {
label = "Joystick Left"; label = "Joystick Left";
gpios = <&pioB 14 GPIO_ACTIVE_LOW>; gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
linux,code = <105>; linux,code = <105>;
}; };
right { button-right {
label = "Joystick Right"; label = "Joystick Right";
gpios = <&pioB 15 GPIO_ACTIVE_LOW>; gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
linux,code = <106>; linux,code = <106>;
}; };
up { button-up {
label = "Joystick Up"; label = "Joystick Up";
gpios = <&pioB 16 GPIO_ACTIVE_LOW>; gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
linux,code = <103>; linux,code = <103>;
}; };
down { button-down {
label = "Joystick Down"; label = "Joystick Down";
gpios = <&pioB 17 GPIO_ACTIVE_LOW>; gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
linux,code = <108>; linux,code = <108>;
}; };
enter { button-enter {
label = "Joystick Press"; label = "Joystick Press";
gpios = <&pioB 18 GPIO_ACTIVE_LOW>; gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
linux,code = <28>; linux,code = <28>;

View File

@ -226,10 +226,10 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
enter { button-enter {
label = "Enter"; label = "Enter";
gpios = <&pioB 3 GPIO_ACTIVE_LOW>; gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
linux,code = <28>; linux,code = <28>;

View File

@ -248,17 +248,17 @@
}; };
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
right_click { button-right-click {
label = "right_click"; label = "right_click";
gpios = <&pioB 0 GPIO_ACTIVE_LOW>; gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
linux,code = <273>; linux,code = <273>;
wakeup-source; wakeup-source;
}; };
left_click { button-left-click {
label = "left_click"; label = "left_click";
gpios = <&pioB 1 GPIO_ACTIVE_LOW>; gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
linux,code = <272>; linux,code = <272>;

View File

@ -51,7 +51,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,mt29f2g16aadwp"; linux,mtd-name = "micron,mt29f2g16aadwp";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";

View File

@ -119,7 +119,7 @@
nand@0,0 { nand@0,0 {
compatible = "ti,omap2-nand"; compatible = "ti,omap2-nand";
linux,mtd-name= "micron,mt29f2g16aadwp"; linux,mtd-name = "micron,mt29f2g16aadwp";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */

View File

@ -51,7 +51,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,mt29f2g16aadwp"; linux,mtd-name = "micron,mt29f2g16aadwp";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";

View File

@ -90,8 +90,8 @@
clocks = <&dpll_gmac_x2_ck>; clocks = <&dpll_gmac_x2_ck>;
ti,max-div = <63>; ti,max-div = <63>;
reg = <0x03fc>; reg = <0x03fc>;
ti,bit-shift=<20>; ti,bit-shift = <20>;
ti,latch-bit=<26>; ti,latch-bit = <26>;
assigned-clocks = <&dpll_gmac_h14x2_ctrl_ck>; assigned-clocks = <&dpll_gmac_h14x2_ctrl_ck>;
assigned-clock-rates = <80000000>; assigned-clock-rates = <80000000>;
}; };
@ -102,7 +102,7 @@
clocks = <&dpll_gmac_ck>, <&dpll_gmac_h14x2_ctrl_ck>; clocks = <&dpll_gmac_ck>, <&dpll_gmac_h14x2_ctrl_ck>;
reg = <0x3fc>; reg = <0x3fc>;
ti,bit-shift = <29>; ti,bit-shift = <29>;
ti,latch-bit=<26>; ti,latch-bit = <26>;
assigned-clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>; assigned-clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>;
assigned-clock-parents = <&dpll_gmac_h14x2_ctrl_ck>; assigned-clock-parents = <&dpll_gmac_h14x2_ctrl_ck>;
}; };

View File

@ -21,7 +21,7 @@
nor@0,0 { nor@0,0 {
compatible = "cfi-flash"; compatible = "cfi-flash";
linux,mtd-name= "intel,ge28f256l18b85"; linux,mtd-name = "intel,ge28f256l18b85";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0 0 0x04000000>; reg = <0 0 0x04000000>;

View File

@ -60,7 +60,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "hynix,h8kds0un0mer-4em"; linux,mtd-name = "hynix,h8kds0un0mer-4em";
nand-bus-width = <16>; nand-bus-width = <16>;
gpmc,device-width = <2>; gpmc,device-width = <2>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";

View File

@ -60,7 +60,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,mt29f2g16abdhc"; linux,mtd-name = "micron,mt29f2g16abdhc";
nand-bus-width = <16>; nand-bus-width = <16>;
gpmc,device-width = <2>; gpmc,device-width = <2>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";

View File

@ -127,7 +127,7 @@
spi-cpol; spi-cpol;
spi-cpha; spi-cpha;
backlight= <&backlight>; backlight = <&backlight>;
label = "lcd"; label = "lcd";
port { port {
lcd_in: endpoint { lcd_in: endpoint {

View File

@ -111,7 +111,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,mt29c4g96maz"; linux,mtd-name = "micron,mt29c4g96maz";
nand-bus-width = <16>; nand-bus-width = <16>;
gpmc,device-width = <2>; gpmc,device-width = <2>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";

View File

@ -103,7 +103,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,nand"; linux,mtd-name = "micron,nand";
nand-bus-width = <16>; nand-bus-width = <16>;
gpmc,device-width = <2>; gpmc,device-width = <2>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
@ -215,11 +215,11 @@
}; };
&mmc2 { &mmc2 {
status="disabled"; status = "disabled";
}; };
&mmc3 { &mmc3 {
status="disabled"; status = "disabled";
}; };
&omap3_pmx_core { &omap3_pmx_core {

View File

@ -372,7 +372,7 @@
gpmc,device-width = <2>; gpmc,device-width = <2>;
gpmc,wait-pin = <0>; gpmc,wait-pin = <0>;
gpmc,wait-monitoring-ns = <0>; gpmc,wait-monitoring-ns = <0>;
gpmc,burst-length= <4>; gpmc,burst-length = <4>;
gpmc,cs-on-ns = <0>; gpmc,cs-on-ns = <0>;
gpmc,cs-rd-off-ns = <100>; gpmc,cs-rd-off-ns = <100>;
gpmc,cs-wr-off-ns = <100>; gpmc,cs-wr-off-ns = <100>;

View File

@ -222,7 +222,7 @@
nand@0,0 { nand@0,0 {
compatible = "ti,omap2-nand"; compatible = "ti,omap2-nand";
linux,mtd-name= "micron,mt29c4g96maz"; linux,mtd-name = "micron,mt29c4g96maz";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */

View File

@ -53,7 +53,7 @@
nor@0,0 { nor@0,0 {
compatible = "cfi-flash"; compatible = "cfi-flash";
linux,mtd-name= "intel,pf48f6000m0y1be"; linux,mtd-name = "intel,pf48f6000m0y1be";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0 0 0x08000000>; reg = <0 0 0x08000000>;
@ -105,7 +105,7 @@
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,mt29f1g08abb"; linux,mtd-name = "micron,mt29f1g08abb";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ti,nand-ecc-opt = "sw"; ti,nand-ecc-opt = "sw";
@ -148,7 +148,7 @@
}; };
onenand@2,0 { onenand@2,0 {
linux,mtd-name= "samsung,kfm2g16q2m-deb8"; linux,mtd-name = "samsung,kfm2g16q2m-deb8";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "ti,omap2-onenand"; compatible = "ti,omap2-onenand";