0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Copyright (C) 2015 STMicroelectronics (R&D) Limited.
0004 * Author: Maxime Coquelin <maxime.coquelin@st.com>
0005 */
0006 /dts-v1/;
0007 #include "stih418.dtsi"
0008 #include <dt-bindings/gpio/gpio.h>
0009 / {
0010 model = "STiH418 B2199";
0011 compatible = "st,stih418-b2199", "st,stih418";
0012
0013 chosen {
0014 stdout-path = &sbc_serial0;
0015 };
0016
0017 memory@40000000 {
0018 device_type = "memory";
0019 reg = <0x40000000 0xc0000000>;
0020 };
0021
0022 aliases {
0023 serial0 = &sbc_serial0;
0024 ethernet0 = ðernet0;
0025 };
0026
0027 leds {
0028 compatible = "gpio-leds";
0029 red {
0030 label = "Front Panel LED";
0031 gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
0032 linux,default-trigger = "heartbeat";
0033 };
0034 green {
0035 gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
0036 default-state = "off";
0037 };
0038 };
0039
0040 miphy28lp_phy: miphy28lp {
0041
0042 phy_port0: port@9b22000 {
0043 st,osc-rdy;
0044 };
0045
0046 phy_port1: port@9b2a000 {
0047 st,osc-force-ext;
0048 };
0049 };
0050
0051 soc {
0052 sbc_serial0: serial@9530000 {
0053 status = "okay";
0054 };
0055
0056 i2c@9842000 {
0057 status = "okay";
0058 };
0059
0060 i2c@9843000 {
0061 status = "okay";
0062 };
0063
0064 i2c@9844000 {
0065 status = "okay";
0066 };
0067
0068 i2c@9845000 {
0069 status = "okay";
0070 };
0071
0072 i2c@9540000 {
0073 status = "okay";
0074 };
0075
0076 /* SSC11 to HDMI */
0077 i2c@9541000 {
0078 status = "okay";
0079 /* HDMI V1.3a supports Standard mode only */
0080 clock-frequency = <100000>;
0081 st,i2c-min-scl-pulse-width-us = <0>;
0082 st,i2c-min-sda-pulse-width-us = <5>;
0083 };
0084
0085 mmc1: sdhci@9080000 {
0086 status = "okay";
0087 };
0088
0089 mmc0: sdhci@9060000 {
0090 status = "okay";
0091 max-frequency = <200000000>;
0092 sd-uhs-sdr50;
0093 sd-uhs-sdr104;
0094 sd-uhs-ddr50;
0095 non-removable;
0096 };
0097
0098 st_dwc3: dwc3@8f94000 {
0099 status = "okay";
0100 };
0101
0102 ethernet0: dwmac@9630000 {
0103 st,tx-retime-src = "clkgen";
0104 status = "okay";
0105 phy-mode = "rgmii";
0106 fixed-link = <0 1 1000 0 0>;
0107 };
0108 };
0109 };