stih410-b2260.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2016 STMicroelectronics (R&D) Limited.
  4. * Author: Patrice Chotard <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "stih410.dtsi"
  8. #include <dt-bindings/gpio/gpio.h>
  9. / {
  10. model = "STiH410 B2260";
  11. compatible = "st,stih410-b2260", "st,stih410";
  12. chosen {
  13. stdout-path = &uart1;
  14. };
  15. memory@40000000 {
  16. device_type = "memory";
  17. reg = <0x40000000 0x40000000>;
  18. };
  19. aliases {
  20. serial1 = &uart1;
  21. ethernet0 = &ethernet0;
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. user_green_1 {
  26. label = "User_green_1";
  27. gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
  28. linux,default-trigger = "heartbeat";
  29. default-state = "off";
  30. };
  31. user_green_2 {
  32. label = "User_green_2";
  33. gpios = <&pio4 1 GPIO_ACTIVE_LOW>;
  34. default-state = "off";
  35. };
  36. user_green_3 {
  37. label = "User_green_3";
  38. gpios = <&pio2 1 GPIO_ACTIVE_LOW>;
  39. default-state = "off";
  40. };
  41. user_green_4 {
  42. label = "User_green_4";
  43. gpios = <&pio2 5 GPIO_ACTIVE_LOW>;
  44. default-state = "off";
  45. };
  46. };
  47. sound: sound {
  48. compatible = "simple-audio-card";
  49. simple-audio-card,name = "STI-B2260";
  50. status = "okay";
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. simple-audio-card,dai-link@0 {
  54. reg = <0>;
  55. /* DAC */
  56. format = "i2s";
  57. mclk-fs = <128>;
  58. cpu {
  59. sound-dai = <&sti_uni_player0>;
  60. };
  61. codec {
  62. sound-dai = <&sti_hdmi>;
  63. };
  64. };
  65. };
  66. miphy28lp_phy: miphy28lp {
  67. phy_port1: port@9b2a000 {
  68. st,osc-force-ext;
  69. };
  70. };
  71. usb2_picophy1: phy2 {
  72. status = "okay";
  73. };
  74. usb2_picophy2: phy3 {
  75. status = "okay";
  76. };
  77. soc {
  78. /* Low speed expansion connector */
  79. uart0: serial@9830000 {
  80. label = "LS-UART0";
  81. pinctrl-names = "default", "no-hw-flowctrl";
  82. pinctrl-0 = <&pinctrl_serial0_hw_flowctrl>;
  83. pinctrl-1 = <&pinctrl_serial0>;
  84. rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
  85. uart-has-rtscts;
  86. status = "okay";
  87. };
  88. /* Low speed expansion connector */
  89. uart1: serial@9831000 {
  90. label = "LS-UART1";
  91. status = "okay";
  92. };
  93. /* Low speed expansion connector */
  94. spi0: spi@9844000 {
  95. label = "LS-SPI0";
  96. cs-gpios = <&pio30 3 0>;
  97. status = "okay";
  98. };
  99. /* Low speed expansion connector */
  100. i2c0: i2c@9840000 {
  101. label = "LS-I2C0";
  102. status = "okay";
  103. };
  104. /* Low speed expansion connector */
  105. i2c1: i2c@9841000 {
  106. label = "LS-I2C1";
  107. status = "okay";
  108. };
  109. /* high speed expansion connector */
  110. i2c2: i2c@9842000 {
  111. label = "HS-I2C2";
  112. pinctrl-0 = <&pinctrl_i2c2_alt2_1>;
  113. status = "okay";
  114. };
  115. /* high speed expansion connector */
  116. i2c3: i2c@9843000 {
  117. label = "HS-I2C3";
  118. pinctrl-0 = <&pinctrl_i2c3_alt3_0>;
  119. status = "okay";
  120. };
  121. mmc0: sdhci@9060000 {
  122. pinctrl-0 = <&pinctrl_sd0>;
  123. bus-width = <4>;
  124. status = "okay";
  125. };
  126. /* high speed expansion connector */
  127. mmc1: sdhci@9080000 {
  128. status = "okay";
  129. };
  130. pwm0: pwm@9810000 {
  131. status = "okay";
  132. };
  133. pwm1: pwm@9510000 {
  134. status = "okay";
  135. };
  136. ohci0: usb@9a03c00 {
  137. status = "okay";
  138. };
  139. ehci0: usb@9a03e00 {
  140. status = "okay";
  141. };
  142. ohci1: usb@9a83c00 {
  143. status = "okay";
  144. };
  145. ehci1: usb@9a83e00 {
  146. status = "okay";
  147. };
  148. st_dwc3: dwc3@8f94000 {
  149. status = "okay";
  150. };
  151. ethernet0: dwmac@9630000 {
  152. phy-mode = "rgmii";
  153. pinctrl-0 = <&pinctrl_rgmii1 &pinctrl_rgmii1_mdio_1>;
  154. snps,reset-gpio = <&pio0 7 0>;
  155. snps,reset-active-low;
  156. snps,reset-delays-us = <0 10000 1000000>;
  157. status = "okay";
  158. };
  159. sti_uni_player0: sti-uni-player@8d80000 {
  160. status = "okay";
  161. };
  162. /* SSC11 to HDMI */
  163. hdmiddc: i2c@9541000 {
  164. /* HDMI V1.3a supports Standard mode only */
  165. clock-frequency = <100000>;
  166. st,i2c-min-scl-pulse-width-us = <0>;
  167. st,i2c-min-sda-pulse-width-us = <5>;
  168. status = "okay";
  169. };
  170. sata1: sata@9b28000 {
  171. status = "okay";
  172. };
  173. };
  174. };