kirkwood-ts219-6282.dts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /dts-v1/;
  2. #include "kirkwood.dtsi"
  3. #include "kirkwood-6282.dtsi"
  4. #include "kirkwood-ts219.dtsi"
  5. / {
  6. mbus {
  7. pcie-controller {
  8. status = "okay";
  9. pcie@2,0 {
  10. status = "okay";
  11. };
  12. };
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pinctrl-0 = <&pmx_ram_size &pmx_board_id>;
  17. pinctrl-names = "default";
  18. pmx_ram_size: pmx-ram-size {
  19. /* RAM: 0: 256 MB, 1: 512 MB */
  20. marvell,pins = "mpp36";
  21. marvell,function = "gpio";
  22. };
  23. pmx_reset_button: pmx-reset-button {
  24. marvell,pins = "mpp37";
  25. marvell,function = "gpio";
  26. };
  27. pmx_USB_copy_button: pmx-USB-copy-button {
  28. marvell,pins = "mpp43";
  29. marvell,function = "gpio";
  30. };
  31. pmx_board_id: pmx-board-id {
  32. /* 0: TS-11x, 1: TS-21x */
  33. marvell,pins = "mpp44";
  34. marvell,function = "gpio";
  35. };
  36. };
  37. };
  38. gpio_keys {
  39. compatible = "gpio-keys";
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>;
  43. pinctrl-names = "default";
  44. button@1 {
  45. label = "USB Copy";
  46. linux,code = <133>;
  47. gpios = <&gpio1 11 1>;
  48. };
  49. button@2 {
  50. label = "Reset";
  51. linux,code = <0x198>;
  52. gpios = <&gpio1 5 1>;
  53. };
  54. };
  55. };
  56. &ethphy0 { reg = <0>; };