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