034-v6.0-0001-ARM-dts-broadcom-align-gpio-key-node-names-with-dtsc.patch 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912
  1. From c5aec5611aec8fb1ca68f68e41acaefccfc93c16 Mon Sep 17 00:00:00 2001
  2. From: Krzysztof Kozlowski <[email protected]>
  3. Date: Thu, 9 Jun 2022 13:39:30 +0200
  4. Subject: [PATCH] ARM: dts: broadcom: align gpio-key node names with dtschema
  5. The node names should be generic and DT schema expects certain pattern
  6. (e.g. with key/button/switch).
  7. Signed-off-by: Krzysztof Kozlowski <[email protected]>
  8. Signed-off-by: Florian Fainelli <[email protected]>
  9. ---
  10. arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts | 6 +++---
  11. arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 8 ++++----
  12. .../boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi | 10 +++++-----
  13. arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 10 +++++-----
  14. arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts | 4 ++--
  15. arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts | 4 ++--
  16. arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 2 +-
  17. arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 2 +-
  18. arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 6 +++---
  19. arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 6 +++---
  20. arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 6 +++---
  21. arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 4 ++--
  22. arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 8 ++++----
  23. arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 2 +-
  24. arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts | 2 +-
  25. arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 2 +-
  26. arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts | 4 ++--
  27. arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 4 ++--
  28. arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 12 ++++++------
  29. arch/arm/boot/dts/bcm4709-linksys-ea9200.dts | 4 ++--
  30. arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 6 +++---
  31. arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 8 ++++----
  32. arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 4 ++--
  33. arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 8 ++++----
  34. arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 6 +++---
  35. arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 6 +++---
  36. arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts | 2 +-
  37. arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts | 2 +-
  38. arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts | 2 +-
  39. arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts | 2 +-
  40. arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 2 +-
  41. arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 2 +-
  42. arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 8 ++++----
  43. arch/arm/boot/dts/bcm47094-phicomm-k3.dts | 2 +-
  44. arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts | 2 +-
  45. arch/arm/boot/dts/bcm47189-luxul-xap-810.dts | 2 +-
  46. arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 6 +++---
  47. arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 2 +-
  48. arch/arm/boot/dts/bcm911360_entphn.dts | 4 ++--
  49. arch/arm/boot/dts/bcm947189acdbmr.dts | 4 ++--
  50. arch/arm/boot/dts/bcm953012er.dts | 4 ++--
  51. arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi | 2 +-
  52. arch/arm/boot/dts/bcm958625-meraki-kingpin.dtsi | 2 +-
  53. 43 files changed, 97 insertions(+), 97 deletions(-)
  54. --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
  55. +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
  56. @@ -70,19 +70,19 @@
  57. gpio-keys {
  58. compatible = "gpio-keys";
  59. - rfkill {
  60. + button-rfkill {
  61. label = "WiFi";
  62. linux,code = <KEY_RFKILL>;
  63. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  64. };
  65. - restart {
  66. + button-restart {
  67. label = "Reset";
  68. linux,code = <KEY_RESTART>;
  69. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  70. };
  71. - wps {
  72. + button-wps {
  73. label = "WPS";
  74. linux,code = <KEY_WPS_BUTTON>;
  75. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  76. --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
  77. +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
  78. @@ -54,25 +54,25 @@
  79. gpio-keys {
  80. compatible = "gpio-keys";
  81. - brightness {
  82. + button-brightness {
  83. label = "Backlight";
  84. linux,code = <KEY_BRIGHTNESS_ZERO>;
  85. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  86. };
  87. - wps {
  88. + button-wps {
  89. label = "WPS";
  90. linux,code = <KEY_WPS_BUTTON>;
  91. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  92. };
  93. - restart {
  94. + button-restart {
  95. label = "Reset";
  96. linux,code = <KEY_RESTART>;
  97. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  98. };
  99. - rfkill {
  100. + button-rfkill {
  101. label = "WiFi";
  102. linux,code = <KEY_RFKILL>;
  103. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  104. --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
  105. +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
  106. @@ -104,33 +104,33 @@
  107. gpio-keys {
  108. compatible = "gpio-keys";
  109. - restart {
  110. + button-restart {
  111. label = "Reset";
  112. linux,code = <KEY_RESTART>;
  113. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  114. };
  115. - aoss {
  116. + button-aoss {
  117. label = "AOSS";
  118. linux,code = <KEY_WPS_BUTTON>;
  119. gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
  120. };
  121. /* Commit mode set by switch? */
  122. - mode {
  123. + button-mode {
  124. label = "Mode";
  125. linux,code = <KEY_SETUP>;
  126. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  127. };
  128. /* Switch: AP mode */
  129. - sw_ap {
  130. + button-sw-ap {
  131. label = "AP";
  132. linux,code = <BTN_0>;
  133. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  134. };
  135. - eject {
  136. + button-eject {
  137. label = "USB eject";
  138. linux,code = <KEY_EJECTCD>;
  139. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  140. --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  141. +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  142. @@ -100,33 +100,33 @@
  143. gpio-keys {
  144. compatible = "gpio-keys";
  145. - restart {
  146. + button-restart {
  147. label = "Reset";
  148. linux,code = <KEY_RESTART>;
  149. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  150. };
  151. - aoss {
  152. + button-aoss {
  153. label = "AOSS";
  154. linux,code = <KEY_WPS_BUTTON>;
  155. gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
  156. };
  157. /* Commit mode set by switch? */
  158. - mode {
  159. + button-mode {
  160. label = "Mode";
  161. linux,code = <KEY_SETUP>;
  162. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  163. };
  164. /* Switch: AP mode */
  165. - sw_ap {
  166. + button-sw-ap {
  167. label = "AP";
  168. linux,code = <BTN_0>;
  169. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  170. };
  171. - eject {
  172. + button-eject {
  173. label = "USB eject";
  174. linux,code = <KEY_EJECTCD>;
  175. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  176. --- a/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
  177. +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
  178. @@ -29,13 +29,13 @@
  179. gpio-keys {
  180. compatible = "gpio-keys";
  181. - wps {
  182. + button-wps {
  183. label = "WPS";
  184. linux,code = <KEY_WPS_BUTTON>;
  185. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  186. };
  187. - restart {
  188. + button-restart {
  189. label = "Reset";
  190. linux,code = <KEY_RESTART>;
  191. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  192. --- a/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
  193. +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
  194. @@ -26,13 +26,13 @@
  195. gpio-keys {
  196. compatible = "gpio-keys";
  197. - wps {
  198. + button-wps {
  199. label = "WPS";
  200. linux,code = <KEY_WPS_BUTTON>;
  201. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  202. };
  203. - restart {
  204. + button-restart {
  205. label = "Reset";
  206. linux,code = <KEY_RESTART>;
  207. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  208. --- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
  209. +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
  210. @@ -45,7 +45,7 @@
  211. gpio-keys {
  212. compatible = "gpio-keys";
  213. - restart {
  214. + button-restart {
  215. label = "Reset";
  216. linux,code = <KEY_RESTART>;
  217. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  218. --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
  219. +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
  220. @@ -52,7 +52,7 @@
  221. gpio-keys {
  222. compatible = "gpio-keys";
  223. - restart {
  224. + button-restart {
  225. label = "Reset";
  226. linux,code = <KEY_RESTART>;
  227. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  228. --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
  229. +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
  230. @@ -63,19 +63,19 @@
  231. gpio-keys {
  232. compatible = "gpio-keys";
  233. - wps {
  234. + button-wps {
  235. label = "WPS";
  236. linux,code = <KEY_WPS_BUTTON>;
  237. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  238. };
  239. - rfkill {
  240. + button-rfkill {
  241. label = "WiFi";
  242. linux,code = <KEY_RFKILL>;
  243. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  244. };
  245. - restart {
  246. + button-restart {
  247. label = "Reset";
  248. linux,code = <KEY_RESTART>;
  249. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  250. --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
  251. +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
  252. @@ -59,19 +59,19 @@
  253. gpio-keys {
  254. compatible = "gpio-keys";
  255. - wps {
  256. + button-wps {
  257. label = "WPS";
  258. linux,code = <KEY_WPS_BUTTON>;
  259. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  260. };
  261. - rfkill {
  262. + button-rfkill {
  263. label = "WiFi";
  264. linux,code = <KEY_RFKILL>;
  265. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  266. };
  267. - restart {
  268. + button-restart {
  269. label = "Reset";
  270. linux,code = <KEY_RESTART>;
  271. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  272. --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
  273. +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
  274. @@ -94,19 +94,19 @@
  275. gpio-keys {
  276. compatible = "gpio-keys";
  277. - rfkill {
  278. + button-rfkill {
  279. label = "WiFi";
  280. linux,code = <KEY_RFKILL>;
  281. gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
  282. };
  283. - wps {
  284. + button-wps {
  285. label = "WPS";
  286. linux,code = <KEY_WPS_BUTTON>;
  287. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  288. };
  289. - restart {
  290. + button-restart {
  291. label = "Reset";
  292. linux,code = <KEY_RESTART>;
  293. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  294. --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
  295. +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
  296. @@ -60,13 +60,13 @@
  297. gpio-keys {
  298. compatible = "gpio-keys";
  299. - restart {
  300. + button-restart {
  301. label = "Reset";
  302. linux,code = <KEY_RESTART>;
  303. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  304. };
  305. - wps {
  306. + button-wps {
  307. label = "WPS";
  308. linux,code = <KEY_WPS_BUTTON>;
  309. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  310. --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
  311. +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
  312. @@ -91,26 +91,26 @@
  313. gpio-keys {
  314. compatible = "gpio-keys";
  315. - aoss {
  316. + button-aoss {
  317. label = "AOSS";
  318. linux,code = <KEY_WPS_BUTTON>;
  319. gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
  320. };
  321. - restart {
  322. + button-restart {
  323. label = "Reset";
  324. linux,code = <KEY_RESTART>;
  325. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  326. };
  327. /* Switch device mode? */
  328. - mode {
  329. + button-mode {
  330. label = "Mode";
  331. linux,code = <KEY_SETUP>;
  332. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  333. };
  334. - eject {
  335. + button-eject {
  336. label = "USB eject";
  337. linux,code = <KEY_EJECTCD>;
  338. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  339. --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
  340. +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
  341. @@ -96,7 +96,7 @@
  342. gpio-keys {
  343. compatible = "gpio-keys";
  344. - restart {
  345. + button-restart {
  346. label = "Reset";
  347. linux,code = <KEY_RESTART>;
  348. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  349. --- a/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
  350. +++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
  351. @@ -45,7 +45,7 @@
  352. gpio-keys {
  353. compatible = "gpio-keys";
  354. - restart {
  355. + button-restart {
  356. label = "Reset";
  357. linux,code = <KEY_RESTART>;
  358. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  359. --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
  360. +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
  361. @@ -94,7 +94,7 @@
  362. gpio-keys {
  363. compatible = "gpio-keys";
  364. - restart {
  365. + button-restart {
  366. label = "Reset";
  367. linux,code = <KEY_RESTART>;
  368. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  369. --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
  370. +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
  371. @@ -77,13 +77,13 @@
  372. gpio-keys {
  373. compatible = "gpio-keys";
  374. - rfkill {
  375. + button-rfkill {
  376. label = "WiFi";
  377. linux,code = <KEY_RFKILL>;
  378. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  379. };
  380. - restart {
  381. + button-restart {
  382. label = "Reset";
  383. linux,code = <KEY_RESTART>;
  384. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  385. --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
  386. +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
  387. @@ -50,13 +50,13 @@
  388. #address-cells = <1>;
  389. #size-cells = <0>;
  390. - wps {
  391. + button-wps {
  392. label = "WPS";
  393. linux,code = <KEY_WPS_BUTTON>;
  394. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  395. };
  396. - restart {
  397. + button-restart {
  398. label = "Reset";
  399. linux,code = <KEY_RESTART>;
  400. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  401. --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
  402. +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
  403. @@ -80,39 +80,39 @@
  404. #address-cells = <1>;
  405. #size-cells = <0>;
  406. - power {
  407. + button-power {
  408. label = "Power";
  409. linux,code = <KEY_POWER>;
  410. gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
  411. };
  412. - restart {
  413. + button-restart {
  414. label = "Reset";
  415. linux,code = <KEY_RESTART>;
  416. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  417. };
  418. - aoss {
  419. + button-aoss {
  420. label = "AOSS";
  421. linux,code = <KEY_WPS_BUTTON>;
  422. gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
  423. };
  424. /* Commit mode set by switch? */
  425. - mode {
  426. + button-mode {
  427. label = "Mode";
  428. linux,code = <KEY_SETUP>;
  429. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  430. };
  431. /* Switch: AP mode */
  432. - sw_ap {
  433. + button-sw-ap {
  434. label = "AP";
  435. linux,code = <BTN_0>;
  436. gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  437. };
  438. - eject {
  439. + button-eject {
  440. label = "USB eject";
  441. linux,code = <KEY_EJECTCD>;
  442. gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
  443. --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
  444. +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
  445. @@ -32,13 +32,13 @@
  446. #address-cells = <1>;
  447. #size-cells = <0>;
  448. - wps {
  449. + button-wps {
  450. label = "WPS";
  451. linux,code = <KEY_WPS_BUTTON>;
  452. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  453. };
  454. - restart {
  455. + button-restart {
  456. label = "Reset";
  457. linux,code = <KEY_RESTART>;
  458. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  459. --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
  460. +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
  461. @@ -75,19 +75,19 @@
  462. #address-cells = <1>;
  463. #size-cells = <0>;
  464. - wps {
  465. + button-wps {
  466. label = "WPS";
  467. linux,code = <KEY_WPS_BUTTON>;
  468. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  469. };
  470. - rfkill {
  471. + button-rfkill {
  472. label = "WiFi";
  473. linux,code = <KEY_RFKILL>;
  474. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  475. };
  476. - restart {
  477. + button-restart {
  478. label = "Reset";
  479. linux,code = <KEY_RESTART>;
  480. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  481. --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  482. +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  483. @@ -102,25 +102,25 @@
  484. #address-cells = <1>;
  485. #size-cells = <0>;
  486. - rfkill {
  487. + button-rfkill {
  488. label = "WiFi";
  489. linux,code = <KEY_RFKILL>;
  490. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  491. };
  492. - wps {
  493. + button-wps {
  494. label = "WPS";
  495. linux,code = <KEY_WPS_BUTTON>;
  496. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  497. };
  498. - restart {
  499. + button-restart {
  500. label = "Reset";
  501. linux,code = <KEY_RESTART>;
  502. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  503. };
  504. - brightness {
  505. + button-brightness {
  506. label = "Backlight";
  507. linux,code = <KEY_BRIGHTNESS_ZERO>;
  508. gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
  509. --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
  510. +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
  511. @@ -80,13 +80,13 @@
  512. #address-cells = <1>;
  513. #size-cells = <0>;
  514. - wps {
  515. + button-wps {
  516. label = "WPS";
  517. linux,code = <KEY_WPS_BUTTON>;
  518. gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
  519. };
  520. - restart {
  521. + button-restart {
  522. label = "Reset";
  523. linux,code = <KEY_RESTART>;
  524. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  525. --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
  526. +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
  527. @@ -72,25 +72,25 @@
  528. gpio-keys {
  529. compatible = "gpio-keys";
  530. - wps {
  531. + button-wps {
  532. label = "WPS";
  533. linux,code = <KEY_WPS_BUTTON>;
  534. gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
  535. };
  536. - reset {
  537. + button-reset {
  538. label = "Reset";
  539. linux,code = <KEY_RESTART>;
  540. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  541. };
  542. - wifi {
  543. + button-wifi {
  544. label = "Wi-Fi";
  545. linux,code = <KEY_RFKILL>;
  546. gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  547. };
  548. - led {
  549. + button-led {
  550. label = "Backlight";
  551. linux,code = <KEY_BRIGHTNESS_ZERO>;
  552. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  553. --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
  554. +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
  555. @@ -86,20 +86,20 @@
  556. gpio-keys {
  557. compatible = "gpio-keys";
  558. - wps {
  559. + button-wps {
  560. label = "WPS";
  561. linux,code = <KEY_WPS_BUTTON>;
  562. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  563. };
  564. /* Switch: router / extender */
  565. - extender {
  566. + button-extender {
  567. label = "Extender";
  568. linux,code = <BTN_0>;
  569. gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  570. };
  571. - restart {
  572. + button-restart {
  573. label = "Reset";
  574. linux,code = <KEY_RESTART>;
  575. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  576. --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
  577. +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
  578. @@ -30,19 +30,19 @@
  579. gpio-keys {
  580. compatible = "gpio-keys";
  581. - wps {
  582. + button-wps {
  583. label = "WPS";
  584. linux,code = <KEY_WPS_BUTTON>;
  585. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  586. };
  587. - rfkill {
  588. + button-rfkill {
  589. label = "WiFi";
  590. linux,code = <KEY_RFKILL>;
  591. gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
  592. };
  593. - reset {
  594. + button-reset {
  595. label = "Reset";
  596. linux,code = <KEY_RESTART>;
  597. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  598. --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
  599. +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
  600. @@ -49,7 +49,7 @@
  601. gpio-keys {
  602. compatible = "gpio-keys";
  603. - restart {
  604. + button-restart {
  605. label = "Reset";
  606. linux,code = <KEY_RESTART>;
  607. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  608. --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
  609. +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
  610. @@ -43,7 +43,7 @@
  611. gpio-keys {
  612. compatible = "gpio-keys";
  613. - restart {
  614. + button-restart {
  615. label = "Reset";
  616. linux,code = <KEY_RESTART>;
  617. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  618. --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
  619. +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
  620. @@ -49,7 +49,7 @@
  621. gpio-keys {
  622. compatible = "gpio-keys";
  623. - restart {
  624. + button-restart {
  625. label = "Reset";
  626. linux,code = <KEY_RESTART>;
  627. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  628. --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
  629. +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
  630. @@ -37,7 +37,7 @@
  631. #address-cells = <1>;
  632. #size-cells = <0>;
  633. - restart {
  634. + button-restart {
  635. label = "Reset";
  636. linux,code = <KEY_RESTART>;
  637. gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
  638. --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
  639. +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
  640. @@ -89,7 +89,7 @@
  641. gpio-keys {
  642. compatible = "gpio-keys";
  643. - restart {
  644. + button-restart {
  645. label = "Reset";
  646. linux,code = <KEY_RESTART>;
  647. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  648. --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
  649. +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
  650. @@ -67,7 +67,7 @@
  651. gpio-keys {
  652. compatible = "gpio-keys";
  653. - restart {
  654. + button-restart {
  655. label = "Reset";
  656. linux,code = <KEY_RESTART>;
  657. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  658. --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
  659. +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
  660. @@ -65,25 +65,25 @@
  661. gpio-keys {
  662. compatible = "gpio-keys";
  663. - brightness {
  664. + button-brightness {
  665. label = "Backlight";
  666. linux,code = <KEY_BRIGHTNESS_ZERO>;
  667. gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
  668. };
  669. - restart {
  670. + button-restart {
  671. label = "Reset";
  672. linux,code = <KEY_RESTART>;
  673. gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  674. };
  675. - wps {
  676. + button-wps {
  677. label = "WPS";
  678. linux,code = <KEY_WPS_BUTTON>;
  679. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  680. };
  681. - rfkill {
  682. + button-rfkill {
  683. label = "WiFi";
  684. linux,code = <KEY_RFKILL>;
  685. gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
  686. --- a/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
  687. +++ b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
  688. @@ -22,7 +22,7 @@
  689. gpio-keys {
  690. compatible = "gpio-keys";
  691. - restart {
  692. + button-restart {
  693. label = "Reset";
  694. linux,code = <KEY_RESTART>;
  695. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  696. --- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  697. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  698. @@ -38,7 +38,7 @@
  699. gpio-keys {
  700. compatible = "gpio-keys";
  701. - restart {
  702. + button-restart {
  703. label = "Reset";
  704. linux,code = <KEY_RESTART>;
  705. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  706. --- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
  707. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
  708. @@ -47,7 +47,7 @@
  709. gpio-keys {
  710. compatible = "gpio-keys";
  711. - restart {
  712. + button-restart {
  713. label = "Reset";
  714. linux,code = <KEY_RESTART>;
  715. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  716. --- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
  717. +++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
  718. @@ -59,19 +59,19 @@
  719. gpio-keys {
  720. compatible = "gpio-keys";
  721. - rfkill {
  722. + button-rfkill {
  723. label = "WiFi";
  724. linux,code = <KEY_RFKILL>;
  725. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  726. };
  727. - restart {
  728. + button-restart {
  729. label = "Reset";
  730. linux,code = <KEY_RESTART>;
  731. gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  732. };
  733. - wps {
  734. + button-wps {
  735. label = "WPS";
  736. linux,code = <KEY_WPS_BUTTON>;
  737. gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
  738. --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
  739. +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
  740. @@ -50,7 +50,7 @@
  741. #address-cells = <1>;
  742. #size-cells = <0>;
  743. - restart {
  744. + button-restart {
  745. label = "Reset";
  746. linux,code = <KEY_RESTART>;
  747. gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>;
  748. --- a/arch/arm/boot/dts/bcm911360_entphn.dts
  749. +++ b/arch/arm/boot/dts/bcm911360_entphn.dts
  750. @@ -47,10 +47,10 @@
  751. stdout-path = "serial0:115200n8";
  752. };
  753. - gpio_keys {
  754. + gpio-keys {
  755. compatible = "gpio-keys";
  756. - hook {
  757. + button-hook {
  758. label = "HOOK";
  759. linux,code = <KEY_O>;
  760. gpios = <&gpio_asiu 48 0>;
  761. --- a/arch/arm/boot/dts/bcm947189acdbmr.dts
  762. +++ b/arch/arm/boot/dts/bcm947189acdbmr.dts
  763. @@ -44,13 +44,13 @@
  764. gpio-keys {
  765. compatible = "gpio-keys";
  766. - restart {
  767. + button-restart {
  768. label = "Reset";
  769. linux,code = <KEY_RESTART>;
  770. gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
  771. };
  772. - wps {
  773. + button-wps {
  774. label = "WPS";
  775. linux,code = <KEY_WPS_BUTTON>;
  776. gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
  777. --- a/arch/arm/boot/dts/bcm953012er.dts
  778. +++ b/arch/arm/boot/dts/bcm953012er.dts
  779. @@ -47,13 +47,13 @@
  780. gpio-keys {
  781. compatible = "gpio-keys";
  782. - wps {
  783. + button-wps {
  784. label = "WPS";
  785. linux,code = <KEY_WPS_BUTTON>;
  786. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  787. };
  788. - restart {
  789. + button-restart {
  790. label = "Reset";
  791. linux,code = <KEY_RESTART>;
  792. gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
  793. --- a/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
  794. +++ b/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
  795. @@ -13,7 +13,7 @@
  796. autorepeat;
  797. poll-interval = <20>;
  798. - reset {
  799. + button-reset {
  800. label = "reset";
  801. linux,code = <KEY_RESTART>;
  802. gpios = <&gpioa 8 GPIO_ACTIVE_LOW>;
  803. --- a/arch/arm/boot/dts/bcm958625-meraki-kingpin.dtsi
  804. +++ b/arch/arm/boot/dts/bcm958625-meraki-kingpin.dtsi
  805. @@ -14,7 +14,7 @@
  806. autorepeat;
  807. poll-interval = <20>;
  808. - reset {
  809. + button-reset {
  810. label = "reset";
  811. linux,code = <KEY_RESTART>;
  812. gpios = <&gpioa 6 GPIO_ACTIVE_LOW>;