arm: zynq: Drop #address-cells and #size-cells from gpio-keys

dtc is showing some warnings and this change was also done in
the Linux kernel as "Input: gpio-keys - clean up device tree binding
example"
with this fragment in commit message
"Drop #address-cells and #size-cells, which are not required by the
gpio-keys binding documentation, as button sub-nodes are not devices."

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
lime2-spi
Michal Simek 7 years ago
parent bc0f4ed133
commit 3c1eaec012
  1. 2
      arch/arm/dts/zynq-zc702.dts
  2. 2
      arch/arm/dts/zynq-zturn.dts
  3. 2
      arch/arm/dts/zynqmp-zcu100-revC.dts
  4. 2
      arch/arm/dts/zynqmp-zcu102-revA.dts
  5. 2
      arch/arm/dts/zynqmp-zcu106-revA.dts
  6. 2
      arch/arm/dts/zynqmp-zcu111-revA.dts

@ -30,8 +30,6 @@
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
sw14 {
label = "sw14";

@ -49,8 +49,6 @@
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
K1 {
label = "K1";

@ -48,8 +48,6 @@
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
sw4 {
label = "sw4";

@ -45,8 +45,6 @@
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
sw19 {
label = "sw19";

@ -45,8 +45,6 @@
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
sw19 {
label = "sw19";

@ -45,8 +45,6 @@
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
sw19 {
label = "sw19";

Loading…
Cancel
Save