stih418-b2199.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2015 STMicroelectronics (R&D) Limited.
  4. * Author: Maxime Coquelin <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "stih418.dtsi"
  8. #include <dt-bindings/gpio/gpio.h>
  9. / {
  10. model = "STiH418 B2199";
  11. compatible = "st,stih418-b2199", "st,stih418";
  12. chosen {
  13. stdout-path = &sbc_serial0;
  14. };
  15. memory@40000000 {
  16. device_type = "memory";
  17. reg = <0x40000000 0xc0000000>;
  18. };
  19. aliases {
  20. serial0 = &sbc_serial0;
  21. ethernet0 = &ethernet0;
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. red {
  26. label = "Front Panel LED";
  27. gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
  28. linux,default-trigger = "heartbeat";
  29. };
  30. green {
  31. gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
  32. default-state = "off";
  33. };
  34. };
  35. miphy28lp_phy: miphy28lp {
  36. phy_port0: port@9b22000 {
  37. st,osc-rdy;
  38. };
  39. phy_port1: port@9b2a000 {
  40. st,osc-force-ext;
  41. };
  42. };
  43. soc {
  44. sbc_serial0: serial@9530000 {
  45. status = "okay";
  46. };
  47. i2c@9842000 {
  48. status = "okay";
  49. };
  50. i2c@9843000 {
  51. status = "okay";
  52. };
  53. i2c@9844000 {
  54. status = "okay";
  55. };
  56. i2c@9845000 {
  57. status = "okay";
  58. };
  59. i2c@9540000 {
  60. status = "okay";
  61. };
  62. /* SSC11 to HDMI */
  63. i2c@9541000 {
  64. status = "okay";
  65. /* HDMI V1.3a supports Standard mode only */
  66. clock-frequency = <100000>;
  67. st,i2c-min-scl-pulse-width-us = <0>;
  68. st,i2c-min-sda-pulse-width-us = <5>;
  69. };
  70. mmc1: sdhci@9080000 {
  71. status = "okay";
  72. };
  73. mmc0: sdhci@9060000 {
  74. status = "okay";
  75. max-frequency = <200000000>;
  76. sd-uhs-sdr50;
  77. sd-uhs-sdr104;
  78. sd-uhs-ddr50;
  79. non-removable;
  80. };
  81. st_dwc3: dwc3@8f94000 {
  82. status = "okay";
  83. };
  84. ethernet0: dwmac@9630000 {
  85. st,tx-retime-src = "clkgen";
  86. status = "okay";
  87. phy-mode = "rgmii";
  88. fixed-link = <0 1 1000 0 0>;
  89. };
  90. };
  91. };