stih410-b2260.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /*
  2. * Copyright (C) 2016 STMicroelectronics (R&D) Limited.
  3. * Author: Patrice Chotard <patrice.chotard@st.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. /dts-v1/;
  10. #include "stih410.dtsi"
  11. #include <dt-bindings/gpio/gpio.h>
  12. / {
  13. model = "STiH410 B2260";
  14. compatible = "st,stih410-b2260", "st,stih410";
  15. chosen {
  16. bootargs = "console=ttyAS1,115200 clk_ignore_unused";
  17. linux,stdout-path = &uart1;
  18. };
  19. memory {
  20. device_type = "memory";
  21. reg = <0x40000000 0x40000000>;
  22. };
  23. aliases {
  24. ttyAS1 = &uart1;
  25. ethernet0 = &ethernet0;
  26. };
  27. soc {
  28. leds {
  29. compatible = "gpio-leds";
  30. user_green_1 {
  31. label = "User_green_1";
  32. gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
  33. linux,default-trigger = "heartbeat";
  34. default-state = "off";
  35. };
  36. user_green_2 {
  37. label = "User_green_2";
  38. gpios = <&pio4 1 GPIO_ACTIVE_LOW>;
  39. default-state = "off";
  40. };
  41. user_green_3 {
  42. label = "User_green_3";
  43. gpios = <&pio2 1 GPIO_ACTIVE_LOW>;
  44. default-state = "off";
  45. };
  46. user_green_4 {
  47. label = "User_green_4";
  48. gpios = <&pio2 5 GPIO_ACTIVE_LOW>;
  49. default-state = "off";
  50. };
  51. };
  52. /* Low speed expansion connector */
  53. uart0: serial@9830000 {
  54. label = "LS-UART0";
  55. status = "okay";
  56. };
  57. /* Low speed expansion connector */
  58. uart1: serial@9831000 {
  59. label = "LS-UART1";
  60. status = "okay";
  61. };
  62. /* Low speed expansion connector */
  63. spi0: spi@9844000 {
  64. label = "LS-SPI0";
  65. cs-gpios = <&pio30 3 0>;
  66. status = "okay";
  67. };
  68. /* Low speed expansion connector */
  69. i2c0: i2c@9840000 {
  70. label = "LS-I2C0";
  71. status = "okay";
  72. };
  73. /* Low speed expansion connector */
  74. i2c1: i2c@9841000 {
  75. label = "LS-I2C1";
  76. status = "okay";
  77. };
  78. /* high speed expansion connector */
  79. i2c2: i2c@9842000 {
  80. label = "HS-I2C2";
  81. pinctrl-0 = <&pinctrl_i2c2_alt2_1>;
  82. status = "okay";
  83. };
  84. /* high speed expansion connector */
  85. i2c3: i2c@9843000 {
  86. label = "HS-I2C3";
  87. pinctrl-0 = <&pinctrl_i2c3_alt3_0>;
  88. status = "okay";
  89. };
  90. mmc0: sdhci@09060000 {
  91. pinctrl-0 = <&pinctrl_sd0>;
  92. bus-width = <4>;
  93. status = "okay";
  94. };
  95. /* high speed expansion connector */
  96. mmc1: sdhci@09080000 {
  97. status = "okay";
  98. };
  99. pwm0: pwm@9810000 {
  100. status = "okay";
  101. };
  102. pwm1: pwm@9510000 {
  103. status = "okay";
  104. };
  105. usb2_picophy1: phy2 {
  106. status = "okay";
  107. };
  108. usb2_picophy2: phy3 {
  109. status = "okay";
  110. };
  111. ohci0: usb@9a03c00 {
  112. status = "okay";
  113. };
  114. ehci0: usb@9a03e00 {
  115. status = "okay";
  116. };
  117. ohci1: usb@9a83c00 {
  118. status = "okay";
  119. };
  120. ehci1: usb@9a83e00 {
  121. status = "okay";
  122. };
  123. st_dwc3: dwc3@8f94000 {
  124. status = "okay";
  125. };
  126. ethernet0: dwmac@9630000 {
  127. phy-mode = "rgmii";
  128. pinctrl-0 = <&pinctrl_rgmii1 &pinctrl_rgmii1_mdio_1>;
  129. snps,phy-bus-name = "stmmac";
  130. snps,phy-bus-id = <0>;
  131. snps,phy-addr = <0>;
  132. snps,reset-gpio = <&pio0 7 0>;
  133. snps,reset-active-low;
  134. snps,reset-delays-us = <0 10000 1000000>;
  135. status = "okay";
  136. };
  137. /* SSC11 to HDMI */
  138. hdmiddc: i2c@9541000 {
  139. /* HDMI V1.3a supports Standard mode only */
  140. clock-frequency = <100000>;
  141. st,i2c-min-scl-pulse-width-us = <0>;
  142. st,i2c-min-sda-pulse-width-us = <5>;
  143. status = "okay";
  144. };
  145. sti-display-subsystem {
  146. sti_hdmi: sti-hdmi@8d04000 {
  147. status = "okay";
  148. };
  149. };
  150. miphy28lp_phy: miphy28lp@9b22000 {
  151. phy_port1: port@9b2a000 {
  152. st,osc-force-ext;
  153. };
  154. };
  155. sata1: sata@9b28000 {
  156. status = "okay";
  157. };
  158. };
  159. };