ulcb-kf.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Kingfisher (ULCB extension) board
  4. *
  5. * Copyright (C) 2017 Renesas Electronics Corp.
  6. * Copyright (C) 2017 Cogent Embedded, Inc.
  7. */
  8. / {
  9. aliases {
  10. serial1 = &hscif0;
  11. serial2 = &scif1;
  12. };
  13. };
  14. &can0 {
  15. pinctrl-0 = <&can0_pins>;
  16. pinctrl-names = "default";
  17. status = "okay";
  18. };
  19. &can1 {
  20. pinctrl-0 = <&can1_pins>;
  21. pinctrl-names = "default";
  22. status = "okay";
  23. };
  24. &ehci0 {
  25. dr_mode = "otg";
  26. status = "okay";
  27. };
  28. &hscif0 {
  29. pinctrl-0 = <&hscif0_pins>;
  30. pinctrl-names = "default";
  31. uart-has-rtscts;
  32. status = "okay";
  33. };
  34. &hsusb {
  35. dr_mode = "otg";
  36. status = "okay";
  37. };
  38. &i2c2 {
  39. gpio_exp_74: gpio@74 {
  40. compatible = "ti,tca9539";
  41. reg = <0x74>;
  42. gpio-controller;
  43. #gpio-cells = <2>;
  44. interrupt-controller;
  45. interrupt-parent = <&gpio6>;
  46. interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
  47. hub_pwen {
  48. gpio-hog;
  49. gpios = <6 GPIO_ACTIVE_HIGH>;
  50. output-high;
  51. line-name = "HUB pwen";
  52. };
  53. hub_rst {
  54. gpio-hog;
  55. gpios = <7 GPIO_ACTIVE_HIGH>;
  56. output-high;
  57. line-name = "HUB rst";
  58. };
  59. otg_offvbusn {
  60. gpio-hog;
  61. gpios = <8 GPIO_ACTIVE_HIGH>;
  62. output-low;
  63. line-name = "OTG OFFVBUSn";
  64. };
  65. otg_extlpn {
  66. gpio-hog;
  67. gpios = <9 GPIO_ACTIVE_HIGH>;
  68. output-high;
  69. line-name = "OTG EXTLPn";
  70. };
  71. };
  72. gpio_exp_75: gpio@75 {
  73. compatible = "ti,tca9539";
  74. reg = <0x75>;
  75. gpio-controller;
  76. #gpio-cells = <2>;
  77. interrupt-controller;
  78. interrupt-parent = <&gpio6>;
  79. interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
  80. };
  81. i2cswitch2: i2c-switch@71 {
  82. compatible = "nxp,pca9548";
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. reg = <0x71>;
  86. reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
  87. };
  88. };
  89. &i2c4 {
  90. gpio_exp_76: gpio@76 {
  91. compatible = "ti,tca9539";
  92. reg = <0x76>;
  93. gpio-controller;
  94. #gpio-cells = <2>;
  95. interrupt-controller;
  96. interrupt-parent = <&gpio7>;
  97. interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
  98. };
  99. gpio_exp_77: gpio@77 {
  100. compatible = "ti,tca9539";
  101. reg = <0x77>;
  102. gpio-controller;
  103. #gpio-cells = <2>;
  104. interrupt-controller;
  105. interrupt-parent = <&gpio5>;
  106. interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
  107. };
  108. i2cswitch4: i2c-switch@71 {
  109. compatible = "nxp,pca9548";
  110. #address-cells = <1>;
  111. #size-cells = <0>;
  112. reg = <0x71>;
  113. reset-gpios= <&gpio3 15 GPIO_ACTIVE_LOW>;
  114. };
  115. };
  116. &ohci0 {
  117. dr_mode = "otg";
  118. status = "okay";
  119. };
  120. &pcie_bus_clk {
  121. clock-frequency = <100000000>;
  122. };
  123. &pciec0 {
  124. status = "okay";
  125. };
  126. &pciec1 {
  127. status = "okay";
  128. };
  129. &pfc {
  130. can0_pins: can0 {
  131. groups = "can0_data_a";
  132. function = "can0";
  133. };
  134. can1_pins: can1 {
  135. groups = "can1_data";
  136. function = "can1";
  137. };
  138. hscif0_pins: hscif0 {
  139. groups = "hscif0_data", "hscif0_ctrl";
  140. function = "hscif0";
  141. };
  142. scif1_pins: scif1 {
  143. groups = "scif1_data_b", "scif1_ctrl";
  144. function = "scif1";
  145. };
  146. usb0_pins: usb0 {
  147. groups = "usb0";
  148. function = "usb0";
  149. };
  150. };
  151. &scif1 {
  152. pinctrl-0 = <&scif1_pins>;
  153. pinctrl-names = "default";
  154. uart-has-rtscts;
  155. status = "okay";
  156. };
  157. &usb2_phy0 {
  158. pinctrl-0 = <&usb0_pins>;
  159. pinctrl-names = "default";
  160. status = "okay";
  161. };
  162. &xhci0 {
  163. status = "okay";
  164. };