1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/dts-v1/; /include/ "kirkwood-ts219.dtsi" / { gpio_keys { compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; button@1 { label = "USB Copy"; linux,code = <133>; gpios = <&gpio1 11 1>; }; button@2 { label = "Reset"; linux,code = <0x198>; gpios = <&gpio1 5 1>; }; }; };