stih418-b2199.dts 2.0 KB

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