Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+301 -348
+1 -1
arch/arm/boot/dts/am335x-boneblack-wireless.dts
··· 19 19 regulator-name = "wlan-en-regulator"; 20 20 regulator-min-microvolt = <1800000>; 21 21 regulator-max-microvolt = <1800000>; 22 - startup-delay-us= <70000>; 22 + startup-delay-us = <70000>; 23 23 24 24 /* WL_EN */ 25 25 gpio = <&gpio3 9 0>;
+1 -1
arch/arm/boot/dts/am335x-boneblue.dts
··· 106 106 regulator-name = "wlan-en-regulator"; 107 107 regulator-min-microvolt = <1800000>; 108 108 regulator-max-microvolt = <1800000>; 109 - startup-delay-us= <70000>; 109 + startup-delay-us = <70000>; 110 110 111 111 /* WL_EN */ 112 112 gpio = <&gpio3 9 0>;
+1 -1
arch/arm/boot/dts/am335x-bonegreen-wireless.dts
··· 18 18 regulator-name = "wlan-en-regulator"; 19 19 regulator-min-microvolt = <1800000>; 20 20 regulator-max-microvolt = <1800000>; 21 - startup-delay-us= <70000>; 21 + startup-delay-us = <70000>; 22 22 23 23 /* WL_EN */ 24 24 gpio = <&gpio0 26 0>;
+2 -2
arch/arm/boot/dts/am335x-cm-t335.dts
··· 325 325 tlv320aic23: codec@1a { 326 326 compatible = "ti,tlv320aic23"; 327 327 reg = <0x1a>; 328 - #sound-dai-cells= <0>; 328 + #sound-dai-cells = <0>; 329 329 status = "okay"; 330 330 }; 331 331 }; ··· 491 491 tx-num-evt = <1>; 492 492 rx-num-evt = <1>; 493 493 494 - #sound-dai-cells= <0>; 494 + #sound-dai-cells = <0>; 495 495 status = "okay"; 496 496 }; 497 497
+3 -5
arch/arm/boot/dts/am335x-evm.dts
··· 92 92 0x0201006c>; /* DOWN */ 93 93 }; 94 94 95 - gpio_keys: volume_keys0 { 95 + gpio_keys: volume-keys { 96 96 compatible = "gpio-keys"; 97 - #address-cells = <1>; 98 - #size-cells = <0>; 99 97 autorepeat; 100 98 101 - switch9 { 99 + switch-9 { 102 100 label = "volume-up"; 103 101 linux,code = <115>; 104 102 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; 105 103 wakeup-source; 106 104 }; 107 105 108 - switch10 { 106 + switch-10 { 109 107 label = "volume-down"; 110 108 linux,code = <114>; 111 109 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
-2
arch/arm/boot/dts/am335x-guardian.dts
··· 33 33 pinctrl-names = "default"; 34 34 pinctrl-0 = <&guardian_button_pins>; 35 35 compatible = "gpio-keys"; 36 - #address-cells = <1>; 37 - #size-cells = <0>; 38 36 39 37 select-button { 40 38 label = "guardian-select-button";
+1 -3
arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi
··· 166 166 &buttons { 167 167 pinctrl-names = "default"; 168 168 pinctrl-0 = <&push_button_pins>; 169 - #address-cells = <1>; 170 - #size-cells = <0>; 171 169 172 - button@0 { 170 + button-0 { 173 171 label = "push_button"; 174 172 linux,code = <0x100>; 175 173 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+1 -3
arch/arm/boot/dts/am335x-moxa-uc-8100-common.dtsi
··· 378 378 &buttons { 379 379 pinctrl-names = "default"; 380 380 pinctrl-0 = <&push_button_pins>; 381 - #address-cells = <1>; 382 - #size-cells = <0>; 383 381 384 - button@0 { 382 + button-0 { 385 383 label = "push_button"; 386 384 linux,code = <0x100>; 387 385 gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
+2 -2
arch/arm/boot/dts/am335x-pcm-953.dtsi
··· 54 54 pinctrl-names = "default"; 55 55 pinctrl-0 = <&user_buttons_pins>; 56 56 57 - button@0 { 57 + button-0 { 58 58 label = "home"; 59 59 linux,code = <KEY_HOME>; 60 60 gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>; 61 61 wakeup-source; 62 62 }; 63 63 64 - button@1 { 64 + button-1 { 65 65 label = "menu"; 66 66 linux,code = <KEY_MENU>; 67 67 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
+3 -5
arch/arm/boot/dts/am335x-pepper.dts
··· 596 596 &buttons { 597 597 pinctrl-names = "default"; 598 598 pinctrl-0 = <&user_buttons_pins>; 599 - #address-cells = <1>; 600 - #size-cells = <0>; 601 599 602 - button0 { 600 + button-0 { 603 601 label = "home"; 604 602 linux,code = <KEY_HOME>; 605 603 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; 606 604 wakeup-source; 607 605 }; 608 606 609 - button1 { 607 + button-1 { 610 608 label = "menu"; 611 609 linux,code = <KEY_MENU>; 612 610 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; 613 611 wakeup-source; 614 612 }; 615 613 616 - buttons2 { 614 + button-2 { 617 615 label = "power"; 618 616 linux,code = <KEY_POWER>; 619 617 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+1 -1
arch/arm/boot/dts/am335x-sancloud-bbe-extended-wifi.dts
··· 23 23 regulator-name = "wlan-en-regulator"; 24 24 regulator-min-microvolt = <3300000>; 25 25 regulator-max-microvolt = <3300000>; 26 - startup-delay-us= <100000>; 26 + startup-delay-us = <100000>; 27 27 }; 28 28 }; 29 29
+3 -3
arch/arm/boot/dts/am335x-shc.dts
··· 36 36 }; 37 37 }; 38 38 39 - gpio_keys { 39 + gpio-keys { 40 40 compatible = "gpio-keys"; 41 41 42 - back_button { 42 + back-button { 43 43 label = "Back Button"; 44 44 gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; 45 45 linux,code = <KEY_BACK>; ··· 47 47 wakeup-source; 48 48 }; 49 49 50 - front_button { 50 + front-button { 51 51 label = "Front Button"; 52 52 gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; 53 53 linux,code = <KEY_FRONT>;
+13 -13
arch/arm/boot/dts/am3517-evm-ui.dtsi
··· 70 70 compatible = "gpio-keys-polled"; 71 71 poll-interval = <100>; 72 72 73 - record { 73 + key-record { 74 74 label = "Record"; 75 75 /* linux,code = <BTN_0>; */ 76 76 gpios = <&tca6416_2 15 GPIO_ACTIVE_LOW>; 77 77 }; 78 78 79 - play { 79 + key-play { 80 80 label = "Play"; 81 81 linux,code = <KEY_PLAY>; 82 82 gpios = <&tca6416_2 14 GPIO_ACTIVE_LOW>; 83 83 }; 84 84 85 - Stop { 85 + key-stop { 86 86 label = "Stop"; 87 87 linux,code = <KEY_STOP>; 88 88 gpios = <&tca6416_2 13 GPIO_ACTIVE_LOW>; 89 89 }; 90 90 91 - fwd { 91 + key-fwd { 92 92 label = "FWD"; 93 93 linux,code = <KEY_FASTFORWARD>; 94 94 gpios = <&tca6416_2 12 GPIO_ACTIVE_LOW>; 95 95 }; 96 96 97 - rwd { 97 + key-rwd { 98 98 label = "RWD"; 99 99 linux,code = <KEY_REWIND>; 100 100 gpios = <&tca6416_2 11 GPIO_ACTIVE_LOW>; 101 101 }; 102 102 103 - shift { 103 + key-shift { 104 104 label = "Shift"; 105 105 linux,code = <KEY_LEFTSHIFT>; 106 106 gpios = <&tca6416_2 10 GPIO_ACTIVE_LOW>; 107 107 }; 108 108 109 - Mode { 109 + key-mode { 110 110 label = "Mode"; 111 111 linux,code = <BTN_MODE>; 112 112 gpios = <&tca6416_2 9 GPIO_ACTIVE_LOW>; 113 113 }; 114 114 115 - Menu { 115 + key-menu { 116 116 label = "Menu"; 117 117 linux,code = <KEY_MENU>; 118 118 gpios = <&tca6416_2 8 GPIO_ACTIVE_LOW>; 119 119 }; 120 120 121 - Up { 121 + key-up { 122 122 label = "Up"; 123 123 linux,code = <KEY_UP>; 124 124 gpios = <&tca6416_2 7 GPIO_ACTIVE_LOW>; 125 125 }; 126 126 127 - Down { 127 + key-down { 128 128 label = "Down"; 129 129 linux,code = <KEY_DOWN>; 130 130 gpios = <&tca6416_2 6 GPIO_ACTIVE_LOW>; ··· 137 137 tlv320aic23_1: codec@1a { 138 138 compatible = "ti,tlv320aic23"; 139 139 reg = <0x1a>; 140 - #sound-dai-cells= <0>; 140 + #sound-dai-cells = <0>; 141 141 status = "okay"; 142 142 }; 143 143 144 144 tlv320aic23_2: codec@1b { 145 145 compatible = "ti,tlv320aic23"; 146 146 reg = <0x1b>; 147 - #sound-dai-cells= <0>; 147 + #sound-dai-cells = <0>; 148 148 status = "okay"; 149 149 }; 150 150 }; ··· 154 154 tlv320aic23_3: codec@1a { 155 155 compatible = "ti,tlv320aic23"; 156 156 reg = <0x1a>; 157 - #sound-dai-cells= <0>; 157 + #sound-dai-cells = <0>; 158 158 status = "okay"; 159 159 }; 160 160
+9 -9
arch/arm/boot/dts/am3517-evm.dts
··· 37 37 compatible = "gpio-keys-polled"; 38 38 poll-interval = <100>; 39 39 40 - user_pb { 40 + button-user { 41 41 label = "User Push Button"; 42 42 linux,code = <BTN_0>; 43 43 gpios = <&tca6416 5 GPIO_ACTIVE_LOW>; 44 44 }; 45 45 46 - user_sw_1 { 46 + switch-1 { 47 47 label = "User Switch 1"; 48 48 linux,code = <BTN_1>; 49 49 gpios = <&tca6416 8 GPIO_ACTIVE_LOW>; 50 50 }; 51 51 52 - user_sw_2 { 52 + switch-2 { 53 53 label = "User Switch 2"; 54 54 linux,code = <BTN_2>; 55 55 gpios = <&tca6416 9 GPIO_ACTIVE_LOW>; 56 56 }; 57 57 58 - user_sw_3 { 58 + switch-3 { 59 59 label = "User Switch 3"; 60 60 linux,code = <BTN_3>; 61 61 gpios = <&tca6416 10 GPIO_ACTIVE_LOW>; 62 62 }; 63 63 64 - user_sw_4 { 64 + switch-4 { 65 65 label = "User Switch 4"; 66 66 linux,code = <BTN_4>; 67 67 gpios = <&tca6416 11 GPIO_ACTIVE_LOW>; 68 68 }; 69 69 70 - user_sw_5 { 70 + switch-5 { 71 71 label = "User Switch 5"; 72 72 linux,code = <BTN_5>; 73 73 gpios = <&tca6416 12 GPIO_ACTIVE_LOW>; 74 74 }; 75 75 76 - user_sw_6 { 76 + switch-6 { 77 77 label = "User Switch 6"; 78 78 linux,code = <BTN_6>; 79 79 gpios = <&tca6416 13 GPIO_ACTIVE_LOW>; 80 80 }; 81 81 82 - user_sw_7 { 82 + switch-7 { 83 83 label = "User Switch 7"; 84 84 linux,code = <BTN_7>; 85 85 gpios = <&tca6416 14 GPIO_ACTIVE_LOW>; 86 86 }; 87 87 88 - user_sw_8 { 88 + switch-8 { 89 89 label = "User Switch 8"; 90 90 linux,code = <BTN_8>; 91 91 gpios = <&tca6416 15 GPIO_ACTIVE_LOW>;
+2 -2
arch/arm/boot/dts/am3874-iceboard.dts
··· 213 213 214 214 u48: pca9575@22 { 215 215 compatible = "nxp,pca9575"; 216 - reg=<0x22>; 216 + reg = <0x22>; 217 217 gpio-controller; 218 218 #gpio-cells = <2>; 219 219 ··· 232 232 233 233 u59: pca9575@23 { 234 234 compatible = "nxp,pca9575"; 235 - reg=<0x23>; 235 + reg = <0x23>; 236 236 gpio-controller; 237 237 #gpio-cells = <2>; 238 238 gpio-line-names =
+2 -4
arch/arm/boot/dts/am437x-idk-evm.dts
··· 98 98 vin-supply = <&v1_5dreg>; 99 99 }; 100 100 101 - gpio_keys: gpio_keys { 101 + gpio_keys: gpio-keys { 102 102 compatible = "gpio-keys"; 103 103 pinctrl-names = "default"; 104 104 pinctrl-0 = <&gpio_keys_pins_default>; 105 - #address-cells = <1>; 106 - #size-cells = <0>; 107 105 108 - switch0 { 106 + switch-0 { 109 107 label = "power-button"; 110 108 linux,code = <KEY_POWER>; 111 109 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
+1 -1
arch/arm/boot/dts/am437x-l4.dtsi
··· 2407 2407 2408 2408 adc { 2409 2409 #io-channel-cells = <1>; 2410 - compatible ="ti,am4372-adc"; 2410 + compatible = "ti,am4372-adc"; 2411 2411 }; 2412 2412 }; 2413 2413 };
+4 -4
arch/arm/boot/dts/armada-370-c200-v2.dts
··· 75 75 pinctrl-0 = <&pmx_buttons>; 76 76 pinctrl-names = "default"; 77 77 78 - power { 78 + button-power { 79 79 label = "Power Button"; 80 80 linux,code = <KEY_POWER>; 81 81 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; 82 82 }; 83 83 84 - reset { 84 + button-reset { 85 85 label = "Reset Button"; 86 86 linux,code = <KEY_RESTART>; 87 87 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 88 88 }; 89 89 90 - usb1 { 90 + button-usb1 { 91 91 label = "USB1 Button"; 92 92 linux,code = <BTN_0>; 93 93 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; 94 94 }; 95 95 96 - usb2 { 96 + button-usb2 { 97 97 label = "USB2 Button"; 98 98 linux,code = <BTN_1>; 99 99 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
-2
arch/arm/boot/dts/armada-370-rd.dts
··· 84 84 85 85 gpio-keys { 86 86 compatible = "gpio-keys"; 87 - #address-cells = <1>; 88 - #size-cells = <0>; 89 87 button { 90 88 label = "Software Button"; 91 89 linux,code = <KEY_POWER>;
+3 -5
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
··· 108 108 109 109 gpio-keys { 110 110 compatible = "gpio-keys"; 111 - #address-cells = <1>; 112 - #size-cells = <0>; 113 111 114 - power { 112 + button-power { 115 113 label = "Power button"; 116 114 linux,code = <KEY_POWER>; 117 115 gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; 118 116 debounce-interval = <100>; 119 117 }; 120 - backup { 118 + button-backup { 121 119 label = "Backup button"; 122 120 linux,code = <KEY_OPTION>; 123 121 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; 124 122 debounce-interval = <100>; 125 123 }; 126 - reset { 124 + button-reset { 127 125 label = "Reset Button"; 128 126 linux,code = <KEY_RESTART>; 129 127 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+3 -5
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi
··· 83 83 84 84 gpio-keys { 85 85 compatible = "gpio-keys"; 86 - #address-cells = <1>; 87 - #size-cells = <0>; 88 86 89 - power { 87 + button-power { 90 88 label = "Power button"; 91 89 linux,code = <KEY_POWER>; 92 90 gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>; 93 91 debounce-interval = <100>; 94 92 }; 95 - reset { 93 + button-reset { 96 94 label = "Reset Button"; 97 95 linux,code = <KEY_RESTART>; 98 96 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; 99 97 debounce-interval = <100>; 100 98 }; 101 - button { 99 + button-usb { 102 100 label = "USB VBUS error"; 103 101 linux,code = <KEY_UNKNOWN>; 104 102 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+1 -1
arch/arm/boot/dts/armada-381-netgear-gs110emx.dts
··· 24 24 pinctrl-0 = <&front_button_pins>; 25 25 pinctrl-names = "default"; 26 26 27 - factory_default { 27 + key-factory-default { 28 28 label = "Factory Default"; 29 29 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 30 30 linux,code = <KEY_RESTART>;
+2 -2
arch/arm/boot/dts/armada-385-clearfog-gtr.dtsi
··· 256 256 pinctrl-0 = <&cf_gtr_rear_button_pins &cf_gtr_front_button_pins>; 257 257 pinctrl-names = "default"; 258 258 259 - button_0 { 259 + button-0 { 260 260 label = "Rear Button"; 261 261 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 262 262 linux,can-disable; 263 263 linux,code = <BTN_0>; 264 264 }; 265 265 266 - button_1 { 266 + button-1 { 267 267 label = "Front Button"; 268 268 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; 269 269 linux,can-disable;
+2 -2
arch/arm/boot/dts/armada-385-linksys.dtsi
··· 53 53 pinctrl-0 = <&gpio_keys_pins>; 54 54 pinctrl-names = "default"; 55 55 56 - wps { 56 + button-wps { 57 57 label = "WPS"; 58 58 linux,code = <KEY_WPS_BUTTON>; 59 59 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; 60 60 }; 61 61 62 - reset { 62 + button-reset { 63 63 label = "Factory Reset Button"; 64 64 linux,code = <KEY_RESTART>; 65 65 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
+1 -1
arch/arm/boot/dts/armada-388-clearfog-base.dts
··· 19 19 pinctrl-0 = <&rear_button_pins>; 20 20 pinctrl-names = "default"; 21 21 22 - button_0 { 22 + button-0 { 23 23 /* The rear SW3 button */ 24 24 label = "Rear Button"; 25 25 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+1 -1
arch/arm/boot/dts/armada-388-clearfog.dts
··· 35 35 pinctrl-0 = <&rear_button_pins>; 36 36 pinctrl-names = "default"; 37 37 38 - button_0 { 38 + button-0 { 39 39 /* The rear SW3 button */ 40 40 label = "Rear Button"; 41 41 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
+2 -4
arch/arm/boot/dts/armada-xp-axpwifiap.dts
··· 69 69 }; 70 70 }; 71 71 72 - gpio_keys { 72 + gpio-keys { 73 73 compatible = "gpio-keys"; 74 - #address-cells = <1>; 75 - #size-cells = <0>; 76 74 pinctrl-0 = <&keys_pin>; 77 75 pinctrl-names = "default"; 78 76 79 - reset { 77 + button-reset { 80 78 label = "Factory Reset Button"; 81 79 linux,code = <KEY_SETUP>; 82 80 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+3 -5
arch/arm/boot/dts/armada-xp-linksys-mamba.dts
··· 172 172 }; 173 173 }; 174 174 175 - gpio_keys { 175 + gpio-keys { 176 176 compatible = "gpio-keys"; 177 - #address-cells = <1>; 178 - #size-cells = <0>; 179 177 pinctrl-0 = <&keys_pin>; 180 178 pinctrl-names = "default"; 181 179 182 - wps { 180 + button-wps { 183 181 label = "WPS"; 184 182 linux,code = <KEY_WPS_BUTTON>; 185 183 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; 186 184 }; 187 185 188 - reset { 186 + button-reset { 189 187 label = "Factory Reset Button"; 190 188 linux,code = <KEY_RESTART>; 191 189 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+2 -4
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
··· 97 97 }; 98 98 }; 99 99 100 - gpio_keys { 100 + gpio-keys { 101 101 compatible = "gpio-keys"; 102 - #address-cells = <1>; 103 - #size-cells = <0>; 104 102 105 - init { 103 + button-init { 106 104 label = "Init Button"; 107 105 linux,code = <KEY_POWER>; 108 106 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
+15 -15
arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
··· 100 100 gpio-keys { 101 101 compatible = "gpio-keys"; 102 102 103 - shutdown_ack { 103 + event-shutdown-ack { 104 104 label = "SHUTDOWN_ACK"; 105 105 gpios = <&gpio ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>; 106 106 linux,code = <ASPEED_GPIO(G, 2)>; 107 107 }; 108 108 109 - reboot_ack { 109 + event-reboot-ack { 110 110 label = "REBOOT_ACK"; 111 111 gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>; 112 112 linux,code = <ASPEED_GPIO(J, 3)>; 113 113 }; 114 114 115 - S0_overtemp { 115 + event-s0-overtemp { 116 116 label = "S0_OVERTEMP"; 117 117 gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>; 118 118 linux,code = <ASPEED_GPIO(G, 3)>; 119 119 }; 120 120 121 - S0_hightemp { 121 + event-s0-hightemp { 122 122 label = "S0_HIGHTEMP"; 123 123 gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>; 124 124 linux,code = <ASPEED_GPIO(J, 0)>; 125 125 }; 126 126 127 - S0_cpu_fault { 127 + event-s0-cpu-fault { 128 128 label = "S0_CPU_FAULT"; 129 129 gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>; 130 130 linux,code = <ASPEED_GPIO(J, 1)>; 131 131 }; 132 132 133 - S0_scp_auth_fail { 133 + event-s0-scp-auth-fail { 134 134 label = "S0_SCP_AUTH_FAIL"; 135 135 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 136 136 linux,code = <ASPEED_GPIO(J, 2)>; 137 137 }; 138 138 139 - S1_scp_auth_fail { 139 + event-s1-scp-auth-fail { 140 140 label = "S1_SCP_AUTH_FAIL"; 141 141 gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>; 142 142 linux,code = <ASPEED_GPIO(Z, 5)>; 143 143 }; 144 144 145 - S1_overtemp { 145 + event-s1-overtemp { 146 146 label = "S1_OVERTEMP"; 147 147 gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; 148 148 linux,code = <ASPEED_GPIO(Z, 6)>; 149 149 }; 150 150 151 - S1_hightemp { 151 + event-s1-hightemp { 152 152 label = "S1_HIGHTEMP"; 153 153 gpios = <&gpio ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>; 154 154 linux,code = <ASPEED_GPIO(AB, 0)>; 155 155 }; 156 156 157 - S1_cpu_fault { 157 + event-s1-cpu-fault { 158 158 label = "S1_CPU_FAULT"; 159 159 gpios = <&gpio ASPEED_GPIO(Z, 1) GPIO_ACTIVE_HIGH>; 160 160 linux,code = <ASPEED_GPIO(Z, 1)>; 161 161 }; 162 162 163 - id_button { 163 + event-id { 164 164 label = "ID_BUTTON"; 165 165 gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>; 166 166 linux,code = <ASPEED_GPIO(Q, 5)>; 167 167 }; 168 168 169 - psu1_vin_good { 169 + event-psu1-vin-good { 170 170 label = "PSU1_VIN_GOOD"; 171 171 gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 172 172 linux,code = <ASPEED_GPIO(H, 4)>; 173 173 }; 174 174 175 - psu2_vin_good { 175 + event-psu2-vin-good { 176 176 label = "PSU2_VIN_GOOD"; 177 177 gpios = <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; 178 178 linux,code = <ASPEED_GPIO(H, 5)>; 179 179 }; 180 180 181 - psu1_present { 181 + event-psu1-present { 182 182 label = "PSU1_PRESENT"; 183 183 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 184 184 linux,code = <ASPEED_GPIO(I, 0)>; 185 185 }; 186 186 187 - psu2_present { 187 + event-psu2-present { 188 188 label = "PSU2_PRESENT"; 189 189 gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; 190 190 linux,code = <ASPEED_GPIO(I, 1)>;
+24 -24
arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts
··· 100 100 101 101 gpio-keys { 102 102 compatible = "gpio-keys"; 103 - burn-in-signal { 103 + event-burn-in-signal { 104 104 label = "burn-in"; 105 105 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>; 106 106 linux,code = <ASPEED_GPIO(R, 5)>; ··· 111 111 compatible = "gpio-keys-polled"; 112 112 poll-interval = <1000>; 113 113 114 - rear-riser1-presence { 114 + event-rear-riser1-presence { 115 115 label = "rear-riser1-presence"; 116 116 gpios = <&pca0 1 GPIO_ACTIVE_LOW>; 117 117 linux,code = <1>; 118 118 }; 119 119 120 - alrt-pvddq-cpu0 { 120 + event-alrt-pvddq-cpu0 { 121 121 label = "alrt-pvddq-cpu0"; 122 122 gpios = <&pca0 8 GPIO_ACTIVE_LOW>; 123 123 linux,code = <2>; 124 124 }; 125 125 126 - rear-riser0-presence { 126 + event-rear-riser0-presence { 127 127 label = "rear-riser0-presence"; 128 128 gpios = <&pca0 9 GPIO_ACTIVE_LOW>; 129 129 linux,code = <3>; 130 130 }; 131 131 132 - fault-pvddq-cpu0 { 132 + event-fault-pvddq-cpu0 { 133 133 label = "fault-pvddq-cpu0"; 134 134 gpios = <&pca0 10 GPIO_ACTIVE_LOW>; 135 135 linux,code = <4>; 136 136 }; 137 137 138 - alrt-pvddq-cpu1 { 138 + event-alrt-pvddq-cpu1 { 139 139 label = "alrt-pvddq-cpu1"; 140 140 gpios = <&pca0 11 GPIO_ACTIVE_LOW>; 141 141 linux,code = <5>; 142 142 }; 143 143 144 - fault-pvddq-cpu1 { 144 + event-fault-pvddq-cpu1 { 145 145 label = "alrt-pvddq-cpu1"; 146 146 gpios = <&pca0 12 GPIO_ACTIVE_LOW>; 147 147 linux,code = <6>; 148 148 }; 149 149 150 - fault-pvccin-cpu1 { 150 + event-fault-pvccin-cpu1 { 151 151 label = "fault-pvccin-cpuq"; 152 152 gpios = <&pca0 13 GPIO_ACTIVE_LOW>; 153 153 linux,code = <7>; 154 154 }; 155 155 156 - bmc-rom0-wp { 156 + event-bmc-rom0-wp { 157 157 label = "bmc-rom0-wp"; 158 158 gpios = <&pca1 0 GPIO_ACTIVE_LOW>; 159 159 linux,code = <8>; 160 160 }; 161 161 162 - bmc-rom1-wp { 162 + event-bmc-rom1-wp { 163 163 label = "bmc-rom1-wp"; 164 164 gpios = <&pca1 1 GPIO_ACTIVE_LOW>; 165 165 linux,code = <9>; 166 166 }; 167 167 168 - fan0-presence { 168 + event-fan0-presence { 169 169 label = "fan0-presence"; 170 170 gpios = <&pca1 2 GPIO_ACTIVE_LOW>; 171 171 linux,code = <10>; 172 172 }; 173 173 174 - fan1-presence { 174 + event-fan1-presence { 175 175 label = "fan1-presence"; 176 176 gpios = <&pca1 3 GPIO_ACTIVE_LOW>; 177 177 linux,code = <11>; 178 178 }; 179 179 180 - fan2-presence { 180 + event-fan2-presence { 181 181 label = "fan2-presence"; 182 182 gpios = <&pca1 4 GPIO_ACTIVE_LOW>; 183 183 linux,code = <12>; 184 184 }; 185 185 186 - fan3-presence { 186 + event-fan3-presence { 187 187 label = "fan3-presence"; 188 188 gpios = <&pca1 5 GPIO_ACTIVE_LOW>; 189 189 linux,code = <13>; 190 190 }; 191 191 192 - fan4-presence { 192 + event-fan4-presence { 193 193 label = "fan4-presence"; 194 194 gpios = <&pca1 6 GPIO_ACTIVE_LOW>; 195 195 linux,code = <14>; 196 196 }; 197 197 198 - fan5-presence { 198 + event-fan5-presence { 199 199 label = "fan5-presence"; 200 200 gpios = <&pca1 7 GPIO_ACTIVE_LOW>; 201 201 linux,code = <15>; 202 202 }; 203 203 204 - front-bp1-presence { 204 + event-front-bp1-presence { 205 205 label = "front-bp1-presence"; 206 206 gpios = <&pca1 8 GPIO_ACTIVE_LOW>; 207 207 linux,code = <16>; 208 208 }; 209 209 210 - rear-bp-presence { 210 + event-rear-bp-presence { 211 211 label = "rear-bp-presence"; 212 212 gpios = <&pca1 9 GPIO_ACTIVE_LOW>; 213 213 linux,code = <17>; 214 214 }; 215 215 216 - fault-pvccin-cpu0 { 216 + event-fault-pvccin-cpu0 { 217 217 label = "fault-pvccin-cpu0"; 218 218 gpios = <&pca1 10 GPIO_ACTIVE_LOW>; 219 219 linux,code = <18>; 220 220 }; 221 221 222 - alrt-p1v05-pvcc { 222 + event-alrt-p1v05-pvcc { 223 223 label = "alrt-p1v05-pvcc1"; 224 224 gpios = <&pca1 11 GPIO_ACTIVE_LOW>; 225 225 linux,code = <19>; 226 226 }; 227 227 228 - fault-p1v05-pvccio { 228 + event-fault-p1v05-pvccio { 229 229 label = "alrt-p1v05-pvcc1"; 230 230 gpios = <&pca1 12 GPIO_ACTIVE_LOW>; 231 231 linux,code = <20>; 232 232 }; 233 233 234 - alrt-p1v8-pvccio { 234 + event-alrt-p1v8-pvccio { 235 235 label = "alrt-p1v8-pvccio"; 236 236 gpios = <&pca1 13 GPIO_ACTIVE_LOW>; 237 237 linux,code = <21>; 238 238 }; 239 239 240 - fault-p1v8-pvccio { 240 + event-fault-p1v8-pvccio { 241 241 label = "fault-p1v8-pvccio"; 242 242 gpios = <&pca1 14 GPIO_ACTIVE_LOW>; 243 243 linux,code = <22>; 244 244 }; 245 245 246 - front-bp0-presence { 246 + event-front-bp0-presence { 247 247 label = "front-bp0-presence"; 248 248 gpios = <&pca1 15 GPIO_ACTIVE_LOW>; 249 249 linux,code = <23>;
+4 -6
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
··· 189 189 190 190 gpio-keys-polled { 191 191 compatible = "gpio-keys-polled"; 192 - #address-cells = <1>; 193 - #size-cells = <0>; 194 192 poll-interval = <1000>; 195 193 196 - fan0-presence { 194 + event-fan0-presence { 197 195 label = "fan0-presence"; 198 196 gpios = <&pca0 15 GPIO_ACTIVE_LOW>; 199 197 linux,code = <15>; 200 198 }; 201 199 202 - fan1-presence { 200 + event-fan1-presence { 203 201 label = "fan1-presence"; 204 202 gpios = <&pca0 14 GPIO_ACTIVE_LOW>; 205 203 linux,code = <14>; 206 204 }; 207 205 208 - fan2-presence { 206 + event-fan2-presence { 209 207 label = "fan2-presence"; 210 208 gpios = <&pca0 13 GPIO_ACTIVE_LOW>; 211 209 linux,code = <13>; 212 210 }; 213 211 214 - fan3-presence { 212 + event-fan3-presence { 215 213 label = "fan3-presence"; 216 214 gpios = <&pca0 12 GPIO_ACTIVE_LOW>; 217 215 linux,code = <12>;
+6 -8
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
··· 179 179 180 180 gpio-keys-polled { 181 181 compatible = "gpio-keys-polled"; 182 - #address-cells = <1>; 183 - #size-cells = <0>; 184 182 poll-interval = <1000>; 185 183 186 - fan0-presence { 184 + event-fan0-presence { 187 185 label = "fan0-presence"; 188 186 gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 189 187 linux,code = <6>; 190 188 }; 191 189 192 - fan1-presence { 190 + event-fan1-presence { 193 191 label = "fan1-presence"; 194 192 gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 195 193 linux,code = <7>; 196 194 }; 197 195 198 - fan2-presence { 196 + event-fan2-presence { 199 197 label = "fan2-presence"; 200 198 gpios = <&pca0 8 GPIO_ACTIVE_LOW>; 201 199 linux,code = <8>; 202 200 }; 203 201 204 - fan3-presence { 202 + event-fan3-presence { 205 203 label = "fan3-presence"; 206 204 gpios = <&pca0 9 GPIO_ACTIVE_LOW>; 207 205 linux,code = <9>; 208 206 }; 209 207 210 - fan4-presence { 208 + event-fan4-presence { 211 209 label = "fan4-presence"; 212 210 gpios = <&pca0 10 GPIO_ACTIVE_LOW>; 213 211 linux,code = <10>; 214 212 }; 215 213 216 - fan5-presence { 214 + event-fan5-presence { 217 215 label = "fan5-presence"; 218 216 gpios = <&pca0 11 GPIO_ACTIVE_LOW>; 219 217 linux,code = <11>;
+11 -11
arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
··· 73 73 gpio-keys { 74 74 compatible = "gpio-keys"; 75 75 76 - checkstop { 76 + event-checkstop { 77 77 label = "checkstop"; 78 78 gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>; 79 79 linux,code = <ASPEED_GPIO(B, 3)>; 80 80 }; 81 81 82 - ps0-presence { 82 + event-ps0-presence { 83 83 label = "ps0-presence"; 84 84 gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>; 85 85 linux,code = <ASPEED_GPIO(F, 0)>; 86 86 }; 87 87 88 - ps1-presence { 88 + event-ps1-presence { 89 89 label = "ps1-presence"; 90 90 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; 91 91 linux,code = <ASPEED_GPIO(F, 1)>; ··· 97 97 compatible = "gpio-keys-polled"; 98 98 poll-interval = <1000>; 99 99 100 - fan0-presence { 100 + event-fan0-presence { 101 101 label = "fan0-presence"; 102 102 gpios = <&pca1 0 GPIO_ACTIVE_LOW>; 103 103 linux,code = <1>; 104 104 }; 105 105 106 - fan1-presence { 106 + event-fan1-presence { 107 107 label = "fan1-presence"; 108 108 gpios = <&pca1 1 GPIO_ACTIVE_LOW>; 109 109 linux,code = <2>; 110 110 }; 111 111 112 - fan2-presence { 112 + event-fan2-presence { 113 113 label = "fan2-presence"; 114 114 gpios = <&pca1 2 GPIO_ACTIVE_LOW>; 115 115 linux,code = <3>; 116 116 }; 117 117 118 - fan3-presence { 118 + event-fan3-presence { 119 119 label = "fan3-presence"; 120 120 gpios = <&pca1 3 GPIO_ACTIVE_LOW>; 121 121 linux,code = <4>; 122 122 }; 123 123 124 - fan4-presence { 124 + event-fan4-presence { 125 125 label = "fan4-presence"; 126 126 gpios = <&pca1 4 GPIO_ACTIVE_LOW>; 127 127 linux,code = <5>; 128 128 }; 129 129 130 - fan5-presence { 130 + event-fan5-presence { 131 131 label = "fan5-presence"; 132 132 gpios = <&pca1 5 GPIO_ACTIVE_LOW>; 133 133 linux,code = <6>; 134 134 }; 135 135 136 - fan6-presence { 136 + event-fan6-presence { 137 137 label = "fan6-presence"; 138 138 gpios = <&pca1 6 GPIO_ACTIVE_LOW>; 139 139 linux,code = <7>; 140 140 }; 141 141 142 - fan7-presence { 142 + event-fan7-presence { 143 143 label = "fan7-presence"; 144 144 gpios = <&pca1 7 GPIO_ACTIVE_LOW>; 145 145 linux,code = <8>;
+12 -11
arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts
··· 92 92 gpio-keys { 93 93 compatible = "gpio-keys"; 94 94 95 - air-water { 95 + event-air-water { 96 96 label = "air-water"; 97 97 gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; 98 98 linux,code = <ASPEED_GPIO(F, 6)>; 99 99 }; 100 100 101 - checkstop { 101 + event-checkstop { 102 102 label = "checkstop"; 103 103 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 104 104 linux,code = <ASPEED_GPIO(J, 2)>; 105 105 }; 106 106 107 - ps0-presence { 107 + event-ps0-presence { 108 108 label = "ps0-presence"; 109 109 gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; 110 110 linux,code = <ASPEED_GPIO(Z, 2)>; 111 111 }; 112 112 113 - ps1-presence { 113 + event-ps1-presence { 114 114 label = "ps1-presence"; 115 115 gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; 116 116 linux,code = <ASPEED_GPIO(Z, 0)>; 117 117 }; 118 - id-button { 118 + 119 + button-id { 119 120 label = "id-button"; 120 121 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; 121 122 linux,code = <ASPEED_GPIO(F, 1)>; ··· 127 126 compatible = "gpio-keys-polled"; 128 127 poll-interval = <1000>; 129 128 130 - fan0-presence { 129 + event-fan0-presence { 131 130 label = "fan0-presence"; 132 131 gpios = <&pca9552 9 GPIO_ACTIVE_LOW>; 133 132 linux,code = <9>; 134 133 }; 135 134 136 - fan1-presence { 135 + event-fan1-presence { 137 136 label = "fan1-presence"; 138 137 gpios = <&pca9552 10 GPIO_ACTIVE_LOW>; 139 138 linux,code = <10>; 140 139 }; 141 140 142 - fan2-presence { 141 + event-fan2-presence { 143 142 label = "fan2-presence"; 144 143 gpios = <&pca9552 11 GPIO_ACTIVE_LOW>; 145 144 linux,code = <11>; 146 145 }; 147 146 148 - fan3-presence { 147 + event-fan3-presence { 149 148 label = "fan3-presence"; 150 149 gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; 151 150 linux,code = <12>; 152 151 }; 153 152 154 - fan4-presence { 153 + event-fan4-presence { 155 154 label = "fan4-presence"; 156 155 gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; 157 156 linux,code = <13>; 158 157 }; 159 158 160 - fan5-presence { 159 + event-fan5-presence { 161 160 label = "fan5-presence"; 162 161 gpios = <&pca9552 14 GPIO_ACTIVE_LOW>; 163 162 linux,code = <14>;
+10 -10
arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts
··· 46 46 gpio-keys { 47 47 compatible = "gpio-keys"; 48 48 49 - air-water { 49 + event-air-water { 50 50 label = "air-water"; 51 51 gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; 52 52 linux,code = <ASPEED_GPIO(F, 6)>; 53 53 }; 54 54 55 - checkstop { 55 + event-checkstop { 56 56 label = "checkstop"; 57 57 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 58 58 linux,code = <ASPEED_GPIO(J, 2)>; 59 59 }; 60 60 61 - ps0-presence { 61 + event-ps0-presence { 62 62 label = "ps0-presence"; 63 63 gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; 64 64 linux,code = <ASPEED_GPIO(Z, 2)>; 65 65 }; 66 66 67 - ps1-presence { 67 + event-ps1-presence { 68 68 label = "ps1-presence"; 69 69 gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; 70 70 linux,code = <ASPEED_GPIO(Z, 0)>; 71 71 }; 72 72 73 - id-button { 73 + button-id { 74 74 label = "id-button"; 75 75 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; 76 76 linux,code = <ASPEED_GPIO(F, 1)>; ··· 81 81 compatible = "gpio-keys-polled"; 82 82 poll-interval = <1000>; 83 83 84 - fan0-presence { 84 + event-fan0-presence { 85 85 label = "fan0-presence"; 86 86 gpios = <&pca9552 9 GPIO_ACTIVE_LOW>; 87 87 linux,code = <9>; 88 88 }; 89 89 90 - fan1-presence { 90 + event-fan1-presence { 91 91 label = "fan1-presence"; 92 92 gpios = <&pca9552 10 GPIO_ACTIVE_LOW>; 93 93 linux,code = <10>; 94 94 }; 95 95 96 - fan2-presence { 96 + event-fan2-presence { 97 97 label = "fan2-presence"; 98 98 gpios = <&pca9552 11 GPIO_ACTIVE_LOW>; 99 99 linux,code = <11>; 100 100 }; 101 101 102 - fan3-presence { 102 + event-fan3-presence { 103 103 label = "fan3-presence"; 104 104 gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; 105 105 linux,code = <12>; 106 106 }; 107 107 108 - fan4-presence { 108 + event-fan4-presence { 109 109 label = "fan4-presence"; 110 110 gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; 111 111 linux,code = <13>;
+1 -1
arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts
··· 96 96 gpio-keys { 97 97 compatible = "gpio-keys"; 98 98 99 - checkstop { 99 + event-checkstop { 100 100 label = "checkstop"; 101 101 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 102 102 linux,code = <ASPEED_GPIO(J, 2)>;
+1 -1
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
··· 73 73 gpio-keys { 74 74 compatible = "gpio-keys"; 75 75 76 - checkstop { 76 + event-checkstop { 77 77 label = "checkstop"; 78 78 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>; 79 79 linux,code = <ASPEED_GPIO(P, 5)>;
+1 -1
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
··· 87 87 gpio-keys { 88 88 compatible = "gpio-keys"; 89 89 90 - checkstop { 90 + event-checkstop { 91 91 label = "checkstop"; 92 92 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 93 93 linux,code = <ASPEED_GPIO(J, 2)>;
+15 -15
arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
··· 38 38 gpio-keys { 39 39 compatible = "gpio-keys"; 40 40 41 - air-water { 41 + event-air-water { 42 42 label = "air-water"; 43 43 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; 44 44 linux,code = <ASPEED_GPIO(B, 5)>; 45 45 }; 46 46 47 - checkstop { 47 + event-checkstop { 48 48 label = "checkstop"; 49 49 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 50 50 linux,code = <ASPEED_GPIO(J, 2)>; 51 51 }; 52 52 53 - ps0-presence { 53 + event-ps0-presence { 54 54 label = "ps0-presence"; 55 55 gpios = <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>; 56 56 linux,code = <ASPEED_GPIO(R, 7)>; 57 57 }; 58 58 59 - ps1-presence { 59 + event-ps1-presence { 60 60 label = "ps1-presence"; 61 61 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; 62 62 linux,code = <ASPEED_GPIO(N, 0)>; 63 63 }; 64 64 65 - oppanel-presence { 65 + event-oppanel-presence { 66 66 label = "oppanel-presence"; 67 67 gpios = <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>; 68 68 linux,code = <ASPEED_GPIO(A, 7)>; 69 69 }; 70 70 71 - opencapi-riser-presence { 71 + event-opencapi-riser-presence { 72 72 label = "opencapi-riser-presence"; 73 73 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 74 74 linux,code = <ASPEED_GPIO(I, 0)>; ··· 84 84 compatible = "gpio-keys-polled"; 85 85 poll-interval = <1000>; 86 86 87 - scm0-presence { 87 + event-scm0-presence { 88 88 label = "scm0-presence"; 89 89 gpios = <&pca9552 6 GPIO_ACTIVE_LOW>; 90 90 linux,code = <6>; 91 91 }; 92 92 93 - scm1-presence { 93 + event-scm1-presence { 94 94 label = "scm1-presence"; 95 95 gpios = <&pca9552 7 GPIO_ACTIVE_LOW>; 96 96 linux,code = <7>; 97 97 }; 98 98 99 - cpu0vrm-presence { 99 + event-cpu0vrm-presence { 100 100 label = "cpu0vrm-presence"; 101 101 gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; 102 102 linux,code = <12>; 103 103 }; 104 104 105 - cpu1vrm-presence { 105 + event-cpu1vrm-presence { 106 106 label = "cpu1vrm-presence"; 107 107 gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; 108 108 linux,code = <13>; 109 109 }; 110 110 111 - fan0-presence { 111 + event-fan0-presence { 112 112 label = "fan0-presence"; 113 113 gpios = <&pca0 5 GPIO_ACTIVE_LOW>; 114 114 linux,code = <5>; 115 115 }; 116 116 117 - fan1-presence { 117 + event-fan1-presence { 118 118 label = "fan1-presence"; 119 119 gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 120 120 linux,code = <6>; 121 121 }; 122 122 123 - fan2-presence { 123 + event-fan2-presence { 124 124 label = "fan2-presence"; 125 125 gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 126 126 linux,code = <7>; 127 127 }; 128 128 129 - fan3-presence { 129 + event-fan3-presence { 130 130 label = "fan3-presence"; 131 131 gpios = <&pca0 8 GPIO_ACTIVE_LOW>; 132 132 linux,code = <8>; 133 133 }; 134 134 135 - fanboost-presence { 135 + event-fanboost-presence { 136 136 label = "fanboost-presence"; 137 137 gpios = <&pca0 9 GPIO_ACTIVE_LOW>; 138 138 linux,code = <9>;
+6 -8
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
··· 50 50 gpio-keys { 51 51 compatible = "gpio-keys"; 52 52 53 - ps0-presence { 53 + event-ps0-presence { 54 54 label = "ps0-presence"; 55 55 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; 56 56 linux,code = <ASPEED_GPIO(H, 3)>; 57 57 }; 58 58 59 - ps1-presence { 59 + event-ps1-presence { 60 60 label = "ps1-presence"; 61 61 gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>; 62 62 linux,code = <ASPEED_GPIO(E, 5)>; ··· 65 65 66 66 gpio-keys-polled { 67 67 compatible = "gpio-keys-polled"; 68 - #address-cells = <1>; 69 - #size-cells = <0>; 70 68 poll-interval = <1000>; 71 69 72 - fan0-presence { 70 + event-fan0-presence { 73 71 label = "fan0-presence"; 74 72 gpios = <&pca0 4 GPIO_ACTIVE_LOW>; 75 73 linux,code = <4>; 76 74 }; 77 75 78 - fan1-presence { 76 + event-fan1-presence { 79 77 label = "fan1-presence"; 80 78 gpios = <&pca0 5 GPIO_ACTIVE_LOW>; 81 79 linux,code = <5>; 82 80 }; 83 81 84 - fan2-presence { 82 + event-fan2-presence { 85 83 label = "fan2-presence"; 86 84 gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 87 85 linux,code = <6>; 88 86 }; 89 87 90 - fan3-presence { 88 + event-fan3-presence { 91 89 label = "fan3-presence"; 92 90 gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 93 91 linux,code = <7>;
+2 -2
arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts
··· 63 63 gpio-keys { 64 64 compatible = "gpio-keys"; 65 65 66 - button_checkstop { 66 + event-checkstop { 67 67 label = "checkstop"; 68 68 linux,code = <74>; 69 69 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>; 70 70 }; 71 71 72 - button_identify { 72 + event-identify { 73 73 label = "identify"; 74 74 linux,code = <152>; 75 75 gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>;
+8 -8
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
··· 51 51 gpio-keys { 52 52 compatible = "gpio-keys"; 53 53 54 - air-water { 54 + event-air-water { 55 55 label = "air-water"; 56 56 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; 57 57 linux,code = <ASPEED_GPIO(B, 5)>; 58 58 }; 59 59 60 - checkstop { 60 + event-checkstop { 61 61 label = "checkstop"; 62 62 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 63 63 linux,code = <ASPEED_GPIO(J, 2)>; 64 64 }; 65 65 66 - ps0-presence { 66 + event-ps0-presence { 67 67 label = "ps0-presence"; 68 68 gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; 69 69 linux,code = <ASPEED_GPIO(P, 7)>; 70 70 }; 71 71 72 - ps1-presence { 72 + event-ps1-presence { 73 73 label = "ps1-presence"; 74 74 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; 75 75 linux,code = <ASPEED_GPIO(N, 0)>; ··· 85 85 compatible = "gpio-keys-polled"; 86 86 poll-interval = <1000>; 87 87 88 - fan0-presence { 88 + event-fan0-presence { 89 89 label = "fan0-presence"; 90 90 gpios = <&pca0 4 GPIO_ACTIVE_LOW>; 91 91 linux,code = <4>; 92 92 }; 93 93 94 - fan1-presence { 94 + event-fan1-presence { 95 95 label = "fan1-presence"; 96 96 gpios = <&pca0 5 GPIO_ACTIVE_LOW>; 97 97 linux,code = <5>; 98 98 }; 99 99 100 - fan2-presence { 100 + event-fan2-presence { 101 101 label = "fan2-presence"; 102 102 gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 103 103 linux,code = <6>; 104 104 }; 105 105 106 - fan3-presence { 106 + event-fan3-presence { 107 107 label = "fan3-presence"; 108 108 gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 109 109 linux,code = <7>;
+2 -2
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
··· 58 58 gpio-keys { 59 59 compatible = "gpio-keys"; 60 60 61 - checkstop { 61 + event-checkstop { 62 62 label = "checkstop"; 63 63 gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>; 64 64 linux,code = <ASPEED_GPIO(F, 7)>; 65 65 }; 66 66 67 - pcie-e2b-present{ 67 + event-pcie-e2b-present{ 68 68 label = "pcie-e2b-present"; 69 69 gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>; 70 70 linux,code = <ASPEED_GPIO(E, 7)>;
+2 -2
arch/arm/boot/dts/at91-foxg20.dts
··· 155 155 }; 156 156 }; 157 157 158 - gpio_keys { 158 + gpio-keys { 159 159 compatible = "gpio-keys"; 160 160 161 - btn { 161 + button { 162 162 label = "Button"; 163 163 gpios = <&pioC 4 GPIO_ACTIVE_LOW>; 164 164 linux,code = <0x103>;
+1 -1
arch/arm/boot/dts/at91-gatwick.dts
··· 13 13 model = "Laird Workgroup Bridge 50N - Project Gatwick"; 14 14 compatible = "laird,gatwick", "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; 15 15 16 - gpio_keys { 16 + gpio-keys { 17 17 compatible = "gpio-keys"; 18 18 autorepeat; 19 19
+3 -5
arch/arm/boot/dts/at91-kizbox.dts
··· 28 28 }; 29 29 }; 30 30 31 - gpio_keys { 31 + gpio-keys { 32 32 compatible = "gpio-keys"; 33 - #address-cells = <1>; 34 - #size-cells = <0>; 35 33 36 - reset { 34 + button-reset { 37 35 label = "PB_RST"; 38 36 gpios = <&pioB 30 GPIO_ACTIVE_HIGH>; 39 37 linux,code = <0x100>; 40 38 wakeup-source; 41 39 }; 42 40 43 - user { 41 + button-user { 44 42 label = "PB_USER"; 45 43 gpios = <&pioB 31 GPIO_ACTIVE_HIGH>; 46 44 linux,code = <0x101>;
+4 -6
arch/arm/boot/dts/at91-kizbox2-common.dtsi
··· 31 31 }; 32 32 }; 33 33 34 - gpio_keys { 34 + gpio-keys { 35 35 compatible = "gpio-keys"; 36 - #address-cells = <1>; 37 - #size-cells = <0>; 38 36 39 - prog { 37 + button-prog { 40 38 label = "PB_PROG"; 41 39 gpios = <&pioE 27 GPIO_ACTIVE_LOW>; 42 40 linux,code = <0x102>; 43 41 wakeup-source; 44 42 }; 45 43 46 - reset { 44 + button-reset { 47 45 label = "PB_RST"; 48 46 gpios = <&pioE 29 GPIO_ACTIVE_LOW>; 49 47 linux,code = <0x100>; 50 48 wakeup-source; 51 49 }; 52 50 53 - user { 51 + button-user { 54 52 label = "PB_USER"; 55 53 gpios = <&pioE 31 GPIO_ACTIVE_HIGH>; 56 54 linux,code = <0x101>;
+6 -6
arch/arm/boot/dts/at91-kizbox3-hs.dts
··· 55 55 }; 56 56 }; 57 57 58 - gpio_keys { 58 + gpio-keys { 59 59 compatible = "gpio-keys"; 60 60 pinctrl-names = "default" , "default", "default", 61 61 "default", "default" ; ··· 68 68 &pinctrl_pio_zbe_rst>; 69 69 pinctrl-4 = <&pinctrl_pio_input>; 70 70 71 - SW1 { 71 + switch-1 { 72 72 label = "SW1"; 73 73 gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>; 74 74 linux,code = <0x101>; 75 75 wakeup-source; 76 76 }; 77 77 78 - SW2 { 78 + switch-2 { 79 79 label = "SW2"; 80 80 gpios = <&pioA PIN_PA18 GPIO_ACTIVE_LOW>; 81 81 linux,code = <0x102>; 82 82 wakeup-source; 83 83 }; 84 84 85 - SW3 { 85 + switch-3 { 86 86 label = "SW3"; 87 87 gpios = <&pioA PIN_PA22 GPIO_ACTIVE_LOW>; 88 88 linux,code = <0x103>; 89 89 wakeup-source; 90 90 }; 91 91 92 - SW7 { 92 + switch-7 { 93 93 label = "SW7"; 94 94 gpios = <&pioA PIN_PA26 GPIO_ACTIVE_LOW>; 95 95 linux,code = <0x107>; 96 96 wakeup-source; 97 97 }; 98 98 99 - SW8 { 99 + switch-8 { 100 100 label = "SW8"; 101 101 gpios = <&pioA PIN_PA24 GPIO_ACTIVE_LOW>; 102 102 linux,code = <0x108>;
+2 -4
arch/arm/boot/dts/at91-kizboxmini-common.dtsi
··· 36 36 37 37 gpio_keys { 38 38 compatible = "gpio-keys"; 39 - #address-cells = <1>; 40 - #size-cells = <0>; 41 39 42 - prog { 40 + key-prog { 43 41 label = "PB_PROG"; 44 42 gpios = <&pioC 17 GPIO_ACTIVE_LOW>; 45 43 linux,code = <0x102>; 46 44 wakeup-source; 47 45 }; 48 46 49 - reset { 47 + key-reset { 50 48 label = "PB_RST"; 51 49 gpios = <&pioC 16 GPIO_ACTIVE_LOW>; 52 50 linux,code = <0x100>;
+1 -1
arch/arm/boot/dts/at91-nattis-2-natte-2.dts
··· 18 18 gpio-keys { 19 19 compatible = "gpio-keys"; 20 20 21 - wakeup { 21 + key-wakeup { 22 22 label = "Wakeup"; 23 23 linux,code = <10>; 24 24 wakeup-source;
+1 -3
arch/arm/boot/dts/at91-qil_a9260.dts
··· 198 198 199 199 gpio_keys { 200 200 compatible = "gpio-keys"; 201 - #address-cells = <1>; 202 - #size-cells = <0>; 203 201 204 - user_pb { 202 + button-user { 205 203 label = "user_pb"; 206 204 gpios = <&pioB 10 GPIO_ACTIVE_LOW>; 207 205 linux,code = <28>;
+2 -3
arch/arm/boot/dts/at91-sam9x60ek.dts
··· 76 76 }; 77 77 }; 78 78 79 - gpio_keys { 79 + gpio-keys { 80 80 compatible = "gpio-keys"; 81 81 pinctrl-names = "default"; 82 82 pinctrl-0 = <&pinctrl_key_gpio_default>; 83 - status = "okay"; 84 83 85 - sw1 { 84 + button-1 { 86 85 label = "SW1"; 87 86 gpios = <&pioD 18 GPIO_ACTIVE_LOW>; 88 87 linux,code = <KEY_PROG1>;
+2 -2
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
··· 478 478 }; 479 479 }; 480 480 481 - gpio_keys { 481 + gpio-keys { 482 482 compatible = "gpio-keys"; 483 483 484 484 pinctrl-names = "default"; 485 485 pinctrl-0 = <&pinctrl_key_gpio_default>; 486 486 487 - pb4 { 487 + button { 488 488 label = "USER"; 489 489 gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>; 490 490 linux,code = <KEY_PROG1>;
+2 -3
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
··· 26 26 stdout-path = "serial0:115200n8"; 27 27 }; 28 28 29 - gpio_keys { 29 + gpio-keys { 30 30 compatible = "gpio-keys"; 31 31 32 32 pinctrl-names = "default"; 33 33 pinctrl-0 = <&pinctrl_key_gpio_default>; 34 - status = "okay"; 35 34 36 - sw4 { 35 + button-1 { 37 36 label = "USER BUTTON"; 38 37 gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>; 39 38 linux,code = <KEY_PROG1>;
+2 -3
arch/arm/boot/dts/at91-sama5d2_icp.dts
··· 42 42 }; 43 43 }; 44 44 45 - gpio_keys { 45 + gpio-keys { 46 46 compatible = "gpio-keys"; 47 47 48 48 pinctrl-names = "default"; 49 49 pinctrl-0 = <&pinctrl_key_gpio_default>; 50 - status = "okay"; 51 50 52 - sw4 { 51 + button-1 { 53 52 label = "USER_PB1"; 54 53 gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>; 55 54 linux,code = <KEY_PROG1>;
+2 -2
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
··· 396 396 }; 397 397 }; 398 398 399 - gpio_keys { 399 + gpio-keys { 400 400 compatible = "gpio-keys"; 401 401 402 402 pinctrl-names = "default"; 403 403 pinctrl-0 = <&pinctrl_key_gpio_default>; 404 404 405 - bp1 { 405 + button-1 { 406 406 label = "PB_USER"; 407 407 gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>; 408 408 linux,code = <KEY_PROG1>;
+2 -2
arch/arm/boot/dts/at91-sama5d2_xplained.dts
··· 705 705 }; 706 706 }; 707 707 708 - gpio_keys { 708 + gpio-keys { 709 709 compatible = "gpio-keys"; 710 710 711 711 pinctrl-names = "default"; 712 712 pinctrl-0 = <&pinctrl_key_gpio_default>; 713 713 714 - bp1 { 714 + button { 715 715 label = "PB_USER"; 716 716 gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>; 717 717 linux,code = <KEY_PROG1>;
+2 -2
arch/arm/boot/dts/at91-sama5d3_xplained.dts
··· 372 372 regulator-always-on; 373 373 }; 374 374 375 - gpio_keys { 375 + gpio-keys { 376 376 compatible = "gpio-keys"; 377 377 378 378 pinctrl-names = "default"; 379 379 pinctrl-0 = <&pinctrl_key_gpio>; 380 380 381 - bp3 { 381 + button { 382 382 label = "PB_USER"; 383 383 gpios = <&pioE 29 GPIO_ACTIVE_LOW>; 384 384 linux,code = <KEY_PROG1>;
+2 -2
arch/arm/boot/dts/at91-sama5d4_xplained.dts
··· 242 242 }; 243 243 }; 244 244 245 - gpio_keys { 245 + gpio-keys { 246 246 compatible = "gpio-keys"; 247 247 248 248 pinctrl-names = "default"; 249 249 pinctrl-0 = <&pinctrl_key_gpio>; 250 250 251 - pb_user1 { 251 + button { 252 252 label = "pb_user1"; 253 253 gpios = <&pioE 8 GPIO_ACTIVE_HIGH>; 254 254 linux,code = <KEY_PROG1>;
+2 -2
arch/arm/boot/dts/at91-sama5d4ek.dts
··· 269 269 }; 270 270 }; 271 271 272 - gpio_keys { 272 + gpio-keys { 273 273 compatible = "gpio-keys"; 274 274 275 275 pinctrl-names = "default"; 276 276 pinctrl-0 = <&pinctrl_key_gpio>; 277 277 278 - pb_user1 { 278 + button { 279 279 label = "pb_user1"; 280 280 gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; 281 281 linux,code = <0x100>;
+2 -2
arch/arm/boot/dts/at91-sama7g5ek.dts
··· 45 45 }; 46 46 }; 47 47 48 - gpio_keys { 48 + gpio-keys { 49 49 compatible = "gpio-keys"; 50 50 51 51 pinctrl-names = "default"; 52 52 pinctrl-0 = <&pinctrl_key_gpio_default>; 53 53 54 - bp1 { 54 + button { 55 55 label = "PB_USER"; 56 56 gpios = <&pioA PIN_PA12 GPIO_ACTIVE_LOW>; 57 57 linux,code = <KEY_PROG1>;
+2 -5
arch/arm/boot/dts/at91-wb45n.dts
··· 12 12 model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)"; 13 13 compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9"; 14 14 15 - gpio_keys { 15 + gpio-keys { 16 16 compatible = "gpio-keys"; 17 - #address-cells = <1>; 18 - #size-cells = <0>; 19 17 20 - irqbtn@18 { 21 - reg = <18>; 18 + button { 22 19 label = "IRQBTN"; 23 20 linux,code = <99>; 24 21 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
+3 -7
arch/arm/boot/dts/at91-wb50n.dts
··· 13 13 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D"; 14 14 compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; 15 15 16 - gpio_keys { 16 + gpio-keys { 17 17 compatible = "gpio-keys"; 18 - #address-cells = <1>; 19 - #size-cells = <0>; 20 18 21 - btn0@10 { 22 - reg = <10>; 19 + button-0 { 23 20 label = "BTNESC"; 24 21 linux,code = <1>; /* ESC button */ 25 22 gpios = <&pioA 10 GPIO_ACTIVE_LOW>; 26 23 wakeup-source; 27 24 }; 28 25 29 - irqbtn@31 { 30 - reg = <31>; 26 + button-1 { 31 27 label = "IRQBTN"; 32 28 linux,code = <99>; /* SysReq button */ 33 29 gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
+3 -3
arch/arm/boot/dts/at91sam9260ek.dts
··· 144 144 }; 145 145 }; 146 146 147 - gpio_keys { 147 + gpio-keys { 148 148 compatible = "gpio-keys"; 149 149 150 - btn3 { 150 + button-3 { 151 151 label = "Button 3"; 152 152 gpios = <&pioA 30 GPIO_ACTIVE_LOW>; 153 153 linux,code = <0x103>; 154 154 wakeup-source; 155 155 }; 156 156 157 - btn4 { 157 + button-4 { 158 158 label = "Button 4"; 159 159 gpios = <&pioA 31 GPIO_ACTIVE_LOW>; 160 160 linux,code = <KEY_PROG1>;
+5 -5
arch/arm/boot/dts/at91sam9261ek.dts
··· 211 211 }; 212 212 }; 213 213 214 - gpio_keys { 214 + gpio-keys { 215 215 compatible = "gpio-keys"; 216 216 217 - button_0 { 217 + button-0 { 218 218 label = "button_0"; 219 219 gpios = <&pioA 27 GPIO_ACTIVE_LOW>; 220 220 linux,code = <256>; 221 221 wakeup-source; 222 222 }; 223 223 224 - button_1 { 224 + button-1 { 225 225 label = "button_1"; 226 226 gpios = <&pioA 26 GPIO_ACTIVE_LOW>; 227 227 linux,code = <257>; 228 228 wakeup-source; 229 229 }; 230 230 231 - button_2 { 231 + button-2 { 232 232 label = "button_2"; 233 233 gpios = <&pioA 25 GPIO_ACTIVE_LOW>; 234 234 linux,code = <258>; 235 235 wakeup-source; 236 236 }; 237 237 238 - button_3 { 238 + button-3 { 239 239 label = "button_3"; 240 240 gpios = <&pioA 24 GPIO_ACTIVE_LOW>; 241 241 linux,code = <259>;
+3 -3
arch/arm/boot/dts/at91sam9263ek.dts
··· 232 232 }; 233 233 }; 234 234 235 - gpio_keys { 235 + gpio-keys { 236 236 compatible = "gpio-keys"; 237 237 238 - left_click { 238 + button-left-click { 239 239 label = "left_click"; 240 240 gpios = <&pioC 5 GPIO_ACTIVE_LOW>; 241 241 linux,code = <272>; 242 242 wakeup-source; 243 243 }; 244 244 245 - right_click { 245 + button-right-click { 246 246 label = "right_click"; 247 247 gpios = <&pioC 4 GPIO_ACTIVE_LOW>; 248 248 linux,code = <273>;
+3 -3
arch/arm/boot/dts/at91sam9g20ek_common.dtsi
··· 234 234 }; 235 235 }; 236 236 237 - gpio_keys { 237 + gpio-keys { 238 238 compatible = "gpio-keys"; 239 239 240 - btn3 { 240 + button-3 { 241 241 label = "Button 3"; 242 242 gpios = <&pioA 30 GPIO_ACTIVE_LOW>; 243 243 linux,code = <0x103>; 244 244 wakeup-source; 245 245 }; 246 246 247 - btn4 { 247 + button-4 { 248 248 label = "Button 4"; 249 249 gpios = <&pioA 31 GPIO_ACTIVE_LOW>; 250 250 linux,code = <KEY_PROG1>;
+1 -1
arch/arm/boot/dts/at91sam9g25-gardena-smart-gateway.dts
··· 23 23 gpio-keys { 24 24 compatible = "gpio-keys"; 25 25 26 - user_btn1 { 26 + button { 27 27 label = "USER_BTN1"; 28 28 gpios = <&pioA 24 GPIO_ACTIVE_LOW>; 29 29 linux,code = <KEY_PROG1>;
+8 -8
arch/arm/boot/dts/at91sam9m10g45ek.dts
··· 343 343 }; 344 344 }; 345 345 346 - gpio_keys { 346 + gpio-keys { 347 347 compatible = "gpio-keys"; 348 348 349 - left_click { 349 + button-left-click { 350 350 label = "left_click"; 351 351 gpios = <&pioB 6 GPIO_ACTIVE_LOW>; 352 352 linux,code = <272>; 353 353 wakeup-source; 354 354 }; 355 355 356 - right_click { 356 + button-right-click { 357 357 label = "right_click"; 358 358 gpios = <&pioB 7 GPIO_ACTIVE_LOW>; 359 359 linux,code = <273>; 360 360 wakeup-source; 361 361 }; 362 362 363 - left { 363 + button-left { 364 364 label = "Joystick Left"; 365 365 gpios = <&pioB 14 GPIO_ACTIVE_LOW>; 366 366 linux,code = <105>; 367 367 }; 368 368 369 - right { 369 + button-right { 370 370 label = "Joystick Right"; 371 371 gpios = <&pioB 15 GPIO_ACTIVE_LOW>; 372 372 linux,code = <106>; 373 373 }; 374 374 375 - up { 375 + button-up { 376 376 label = "Joystick Up"; 377 377 gpios = <&pioB 16 GPIO_ACTIVE_LOW>; 378 378 linux,code = <103>; 379 379 }; 380 380 381 - down { 381 + button-down { 382 382 label = "Joystick Down"; 383 383 gpios = <&pioB 17 GPIO_ACTIVE_LOW>; 384 384 linux,code = <108>; 385 385 }; 386 386 387 - enter { 387 + button-enter { 388 388 label = "Joystick Press"; 389 389 gpios = <&pioB 18 GPIO_ACTIVE_LOW>; 390 390 linux,code = <28>;
+2 -2
arch/arm/boot/dts/at91sam9n12ek.dts
··· 226 226 }; 227 227 }; 228 228 229 - gpio_keys { 229 + gpio-keys { 230 230 compatible = "gpio-keys"; 231 231 232 - enter { 232 + button-enter { 233 233 label = "Enter"; 234 234 gpios = <&pioB 3 GPIO_ACTIVE_LOW>; 235 235 linux,code = <28>;
+3 -3
arch/arm/boot/dts/at91sam9rlek.dts
··· 248 248 }; 249 249 }; 250 250 251 - gpio_keys { 251 + gpio-keys { 252 252 compatible = "gpio-keys"; 253 253 254 - right_click { 254 + button-right-click { 255 255 label = "right_click"; 256 256 gpios = <&pioB 0 GPIO_ACTIVE_LOW>; 257 257 linux,code = <273>; 258 258 wakeup-source; 259 259 }; 260 260 261 - left_click { 261 + button-left-click { 262 262 label = "left_click"; 263 263 gpios = <&pioB 1 GPIO_ACTIVE_LOW>; 264 264 linux,code = <272>;
+9 -9
arch/arm/boot/dts/da850-evm.dts
··· 52 52 enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; /* lcd_panel_pwr */ 53 53 54 54 panel-info { 55 - ac-bias = <255>; 56 - ac-bias-intrpt = <0>; 57 - dma-burst-sz = <16>; 58 - bpp = <16>; 59 - fdd = <0x80>; 60 - sync-edge = <0>; 61 - sync-ctrl = <1>; 62 - raster-order = <0>; 63 - fifo-th = <0>; 55 + ac-bias = <255>; 56 + ac-bias-intrpt = <0>; 57 + dma-burst-sz = <16>; 58 + bpp = <16>; 59 + fdd = <0x80>; 60 + sync-edge = <0>; 61 + sync-ctrl = <1>; 62 + raster-order = <0>; 63 + fifo-th = <0>; 64 64 }; 65 65 66 66 display-timings {
+6 -6
arch/arm/boot/dts/da850.dtsi
··· 419 419 edma0: edma@0 { 420 420 compatible = "ti,edma3-tpcc"; 421 421 /* eDMA3 CC0: 0x01c0 0000 - 0x01c0 7fff */ 422 - reg = <0x0 0x8000>; 422 + reg = <0x0 0x8000>; 423 423 reg-names = "edma3_cc"; 424 424 interrupts = <11 12>; 425 425 interrupt-names = "edma3_ccint", "edma3_ccerrint"; ··· 430 430 }; 431 431 edma0_tptc0: tptc@8000 { 432 432 compatible = "ti,edma3-tptc"; 433 - reg = <0x8000 0x400>; 433 + reg = <0x8000 0x400>; 434 434 interrupts = <13>; 435 435 interrupt-names = "edm3_tcerrint"; 436 436 power-domains = <&psc0 1>; 437 437 }; 438 438 edma0_tptc1: tptc@8400 { 439 439 compatible = "ti,edma3-tptc"; 440 - reg = <0x8400 0x400>; 440 + reg = <0x8400 0x400>; 441 441 interrupts = <32>; 442 442 interrupt-names = "edm3_tcerrint"; 443 443 power-domains = <&psc0 2>; ··· 445 445 edma1: edma@230000 { 446 446 compatible = "ti,edma3-tpcc"; 447 447 /* eDMA3 CC1: 0x01e3 0000 - 0x01e3 7fff */ 448 - reg = <0x230000 0x8000>; 448 + reg = <0x230000 0x8000>; 449 449 reg-names = "edma3_cc"; 450 450 interrupts = <93 94>; 451 451 interrupt-names = "edma3_ccint", "edma3_ccerrint"; ··· 456 456 }; 457 457 edma1_tptc0: tptc@238000 { 458 458 compatible = "ti,edma3-tptc"; 459 - reg = <0x238000 0x400>; 459 + reg = <0x238000 0x400>; 460 460 interrupts = <95>; 461 461 interrupt-names = "edm3_tcerrint"; 462 462 power-domains = <&psc1 21>; ··· 672 672 673 673 cppi41dma: dma-controller@201000 { 674 674 compatible = "ti,da830-cppi41"; 675 - reg = <0x201000 0x1000 675 + reg = <0x201000 0x1000 676 676 0x202000 0x1000 677 677 0x204000 0x4000>; 678 678 reg-names = "controller",
+1 -1
arch/arm/boot/dts/dm8148-evm.dts
··· 51 51 interrupt-parent = <&gpmc>; 52 52 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 53 53 <1 IRQ_TYPE_NONE>; /* termcount */ 54 - linux,mtd-name= "micron,mt29f2g16aadwp"; 54 + linux,mtd-name = "micron,mt29f2g16aadwp"; 55 55 #address-cells = <1>; 56 56 #size-cells = <1>; 57 57 ti,nand-ecc-opt = "bch8";
+1 -1
arch/arm/boot/dts/dm8168-evm.dts
··· 119 119 120 120 nand@0,0 { 121 121 compatible = "ti,omap2-nand"; 122 - linux,mtd-name= "micron,mt29f2g16aadwp"; 122 + linux,mtd-name = "micron,mt29f2g16aadwp"; 123 123 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 124 124 interrupt-parent = <&gpmc>; 125 125 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
+1 -1
arch/arm/boot/dts/dra62x-j5eco-evm.dts
··· 51 51 interrupt-parent = <&gpmc>; 52 52 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 53 53 <1 IRQ_TYPE_NONE>; /* termcount */ 54 - linux,mtd-name= "micron,mt29f2g16aadwp"; 54 + linux,mtd-name = "micron,mt29f2g16aadwp"; 55 55 #address-cells = <1>; 56 56 #size-cells = <1>; 57 57 ti,nand-ecc-opt = "bch8";
+3 -3
arch/arm/boot/dts/dra76x.dtsi
··· 90 90 clocks = <&dpll_gmac_x2_ck>; 91 91 ti,max-div = <63>; 92 92 reg = <0x03fc>; 93 - ti,bit-shift=<20>; 94 - ti,latch-bit=<26>; 93 + ti,bit-shift = <20>; 94 + ti,latch-bit = <26>; 95 95 assigned-clocks = <&dpll_gmac_h14x2_ctrl_ck>; 96 96 assigned-clock-rates = <80000000>; 97 97 }; ··· 102 102 clocks = <&dpll_gmac_ck>, <&dpll_gmac_h14x2_ctrl_ck>; 103 103 reg = <0x3fc>; 104 104 ti,bit-shift = <29>; 105 - ti,latch-bit=<26>; 105 + ti,latch-bit = <26>; 106 106 assigned-clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>; 107 107 assigned-clock-parents = <&dpll_gmac_h14x2_ctrl_ck>; 108 108 };
+1 -1
arch/arm/boot/dts/omap2420-h4.dts
··· 21 21 22 22 nor@0,0 { 23 23 compatible = "cfi-flash"; 24 - linux,mtd-name= "intel,ge28f256l18b85"; 24 + linux,mtd-name = "intel,ge28f256l18b85"; 25 25 #address-cells = <1>; 26 26 #size-cells = <1>; 27 27 reg = <0 0 0x04000000>;
+1 -1
arch/arm/boot/dts/omap3-evm-37xx.dts
··· 60 60 interrupt-parent = <&gpmc>; 61 61 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 62 62 <1 IRQ_TYPE_NONE>; /* termcount */ 63 - linux,mtd-name= "hynix,h8kds0un0mer-4em"; 63 + linux,mtd-name = "hynix,h8kds0un0mer-4em"; 64 64 nand-bus-width = <16>; 65 65 gpmc,device-width = <2>; 66 66 ti,nand-ecc-opt = "bch8";
+1 -1
arch/arm/boot/dts/omap3-evm.dts
··· 60 60 interrupt-parent = <&gpmc>; 61 61 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 62 62 <1 IRQ_TYPE_NONE>; /* termcount */ 63 - linux,mtd-name= "micron,mt29f2g16abdhc"; 63 + linux,mtd-name = "micron,mt29f2g16abdhc"; 64 64 nand-bus-width = <16>; 65 65 gpmc,device-width = <2>; 66 66 ti,nand-ecc-opt = "bch8";
+1 -1
arch/arm/boot/dts/omap3-gta04.dtsi
··· 127 127 spi-cpol; 128 128 spi-cpha; 129 129 130 - backlight= <&backlight>; 130 + backlight = <&backlight>; 131 131 label = "lcd"; 132 132 port { 133 133 lcd_in: endpoint {
+1 -1
arch/arm/boot/dts/omap3-igep.dtsi
··· 111 111 interrupt-parent = <&gpmc>; 112 112 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 113 113 <1 IRQ_TYPE_NONE>; /* termcount */ 114 - linux,mtd-name= "micron,mt29c4g96maz"; 114 + linux,mtd-name = "micron,mt29c4g96maz"; 115 115 nand-bus-width = <16>; 116 116 gpmc,device-width = <2>; 117 117 ti,nand-ecc-opt = "bch8";
+3 -3
arch/arm/boot/dts/omap3-ldp.dts
··· 103 103 interrupt-parent = <&gpmc>; 104 104 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 105 105 <1 IRQ_TYPE_NONE>; /* termcount */ 106 - linux,mtd-name= "micron,nand"; 106 + linux,mtd-name = "micron,nand"; 107 107 nand-bus-width = <16>; 108 108 gpmc,device-width = <2>; 109 109 ti,nand-ecc-opt = "bch8"; ··· 215 215 }; 216 216 217 217 &mmc2 { 218 - status="disabled"; 218 + status = "disabled"; 219 219 }; 220 220 221 221 &mmc3 { 222 - status="disabled"; 222 + status = "disabled"; 223 223 }; 224 224 225 225 &omap3_pmx_core {
+1 -1
arch/arm/boot/dts/omap3-lilly-a83x.dtsi
··· 372 372 gpmc,device-width = <2>; 373 373 gpmc,wait-pin = <0>; 374 374 gpmc,wait-monitoring-ns = <0>; 375 - gpmc,burst-length= <4>; 375 + gpmc,burst-length = <4>; 376 376 gpmc,cs-on-ns = <0>; 377 377 gpmc,cs-rd-off-ns = <100>; 378 378 gpmc,cs-wr-off-ns = <100>;
+2 -2
arch/arm/boot/dts/omap3-n900.dts
··· 568 568 }; 569 569 570 570 &twl_gpio { 571 - ti,pullups = <0x0>; 572 - ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */ 571 + ti,pullups = <0x0>; 572 + ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */ 573 573 }; 574 574 575 575 &i2c2 {
+2 -2
arch/arm/boot/dts/omap3-n950-n9.dtsi
··· 162 162 }; 163 163 164 164 &twl_gpio { 165 - ti,pullups = <0x000001>; /* BIT(0) */ 166 - ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */ 165 + ti,pullups = <0x000001>; /* BIT(0) */ 166 + ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */ 167 167 }; 168 168 169 169 &vdac {
+1 -1
arch/arm/boot/dts/omap3-overo-base.dtsi
··· 222 222 223 223 nand@0,0 { 224 224 compatible = "ti,omap2-nand"; 225 - linux,mtd-name= "micron,mt29c4g96maz"; 225 + linux,mtd-name = "micron,mt29c4g96maz"; 226 226 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 227 227 interrupt-parent = <&gpmc>; 228 228 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
+1 -1
arch/arm/boot/dts/omap3-pandora-common.dtsi
··· 666 666 667 667 lcd: lcd@1 { 668 668 reg = <1>; /* CS1 */ 669 - compatible = "tpo,td043mtea1"; 669 + compatible = "tpo,td043mtea1"; 670 670 spi-max-frequency = <100000>; 671 671 spi-cpol; 672 672 spi-cpha;
+3 -3
arch/arm/boot/dts/omap3430-sdp.dts
··· 53 53 54 54 nor@0,0 { 55 55 compatible = "cfi-flash"; 56 - linux,mtd-name= "intel,pf48f6000m0y1be"; 56 + linux,mtd-name = "intel,pf48f6000m0y1be"; 57 57 #address-cells = <1>; 58 58 #size-cells = <1>; 59 59 reg = <0 0 0x08000000>; ··· 105 105 interrupt-parent = <&gpmc>; 106 106 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 107 107 <1 IRQ_TYPE_NONE>; /* termcount */ 108 - linux,mtd-name= "micron,mt29f1g08abb"; 108 + linux,mtd-name = "micron,mt29f1g08abb"; 109 109 #address-cells = <1>; 110 110 #size-cells = <1>; 111 111 ti,nand-ecc-opt = "sw"; ··· 148 148 }; 149 149 150 150 onenand@2,0 { 151 - linux,mtd-name= "samsung,kfm2g16q2m-deb8"; 151 + linux,mtd-name = "samsung,kfm2g16q2m-deb8"; 152 152 #address-cells = <1>; 153 153 #size-cells = <1>; 154 154 compatible = "ti,omap2-onenand";
+1 -1
arch/arm/boot/dts/omap5-l4.dtsi
··· 482 482 clocks = <&usb_phy_cm_clk32k>, 483 483 <&sys_clkin>, 484 484 <&l3init_clkctrl OMAP5_USB_OTG_SS_CLKCTRL 8>; 485 - clock-names = "wkupclk", 485 + clock-names = "wkupclk", 486 486 "sysclk", 487 487 "refclk"; 488 488 #phy-cells = <0>;