kirkwood-ts219-6282.dts 1.2 KB

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