kirkwood-6192.dtsi 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // SPDX-License-Identifier: GPL-2.0
  2. / {
  3. mbus@f1000000 {
  4. pciec: pcie@82000000 {
  5. compatible = "marvell,kirkwood-pcie";
  6. status = "disabled";
  7. device_type = "pci";
  8. #address-cells = <3>;
  9. #size-cells = <2>;
  10. bus-range = <0x00 0xff>;
  11. ranges =
  12. <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
  13. 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
  14. 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>;
  15. pcie0: pcie@1,0 {
  16. device_type = "pci";
  17. assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
  18. reg = <0x0800 0 0 0 0>;
  19. #address-cells = <3>;
  20. #size-cells = <2>;
  21. #interrupt-cells = <1>;
  22. ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
  23. 0x81000000 0 0 0x81000000 0x1 0 1 0>;
  24. bus-range = <0x00 0xff>;
  25. interrupt-names = "intx", "error";
  26. interrupts = <9>, <44>;
  27. interrupt-map-mask = <0 0 0 7>;
  28. interrupt-map = <0 0 0 1 &pcie_intc 0>,
  29. <0 0 0 2 &pcie_intc 1>,
  30. <0 0 0 3 &pcie_intc 2>,
  31. <0 0 0 4 &pcie_intc 3>;
  32. marvell,pcie-port = <0>;
  33. marvell,pcie-lane = <0>;
  34. clocks = <&gate_clk 2>;
  35. status = "disabled";
  36. pcie_intc: interrupt-controller {
  37. interrupt-controller;
  38. #interrupt-cells = <1>;
  39. };
  40. };
  41. };
  42. };
  43. ocp@f1000000 {
  44. pinctrl: pin-controller@10000 {
  45. compatible = "marvell,88f6192-pinctrl";
  46. pmx_sata0: pmx-sata0 {
  47. marvell,pins = "mpp5", "mpp21", "mpp23";
  48. marvell,function = "sata0";
  49. };
  50. pmx_sata1: pmx-sata1 {
  51. marvell,pins = "mpp4", "mpp20", "mpp22";
  52. marvell,function = "sata1";
  53. };
  54. pmx_sdio: pmx-sdio {
  55. marvell,pins = "mpp12", "mpp13", "mpp14",
  56. "mpp15", "mpp16", "mpp17";
  57. marvell,function = "sdio";
  58. };
  59. };
  60. rtc: rtc@10300 {
  61. compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
  62. reg = <0x10300 0x20>;
  63. interrupts = <53>;
  64. clocks = <&gate_clk 7>;
  65. };
  66. sata: sata@80000 {
  67. compatible = "marvell,orion-sata";
  68. reg = <0x80000 0x5000>;
  69. interrupts = <21>;
  70. clocks = <&gate_clk 14>, <&gate_clk 15>;
  71. clock-names = "0", "1";
  72. phys = <&sata_phy0>, <&sata_phy1>;
  73. phy-names = "port0", "port1";
  74. status = "disabled";
  75. };
  76. sdio: mvsdio@90000 {
  77. compatible = "marvell,orion-sdio";
  78. reg = <0x90000 0x200>;
  79. interrupts = <28>;
  80. clocks = <&gate_clk 4>;
  81. bus-width = <4>;
  82. cap-sdio-irq;
  83. cap-sd-highspeed;
  84. cap-mmc-highspeed;
  85. status = "disabled";
  86. };
  87. };
  88. };