kirkwood-ts219-6281.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. /include/ "kirkwood-6281.dtsi"
  4. /include/ "kirkwood-ts219.dtsi"
  5. / {
  6. ocp@f1000000 {
  7. pinctrl: pinctrl@10000 {
  8. pinctrl-0 = < &pmx_uart0 &pmx_uart1 &pmx_spi
  9. &pmx_twsi0 &pmx_sata0 &pmx_sata1
  10. &pmx_ram_size &pmx_reset_button
  11. &pmx_USB_copy_button &pmx_board_id>;
  12. pinctrl-names = "default";
  13. pmx_ram_size: pmx-ram-size {
  14. /* RAM: 0: 256 MB, 1: 512 MB */
  15. marvell,pins = "mpp36";
  16. marvell,function = "gpio";
  17. };
  18. pmx_USB_copy_button: pmx-USB-copy-button {
  19. marvell,pins = "mpp15";
  20. marvell,function = "gpio";
  21. };
  22. pmx_reset_button: pmx-reset-button {
  23. marvell,pins = "mpp16";
  24. marvell,function = "gpio";
  25. };
  26. pmx_board_id: pmx-board-id {
  27. /* 0: TS-11x, 1: TS-21x */
  28. marvell,pins = "mpp44";
  29. marvell,function = "gpio";
  30. };
  31. };
  32. };
  33. gpio_keys {
  34. compatible = "gpio-keys";
  35. #address-cells = <1>;
  36. #size-cells = <0>;
  37. button@1 {
  38. label = "USB Copy";
  39. linux,code = <133>;
  40. gpios = <&gpio0 15 1>;
  41. };
  42. button@2 {
  43. label = "Reset";
  44. linux,code = <0x198>;
  45. gpios = <&gpio0 16 1>;
  46. };
  47. };
  48. };