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