2 * Copyright (C) 2014 STMicroelectronics (R&D) Limited.
3 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
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.
9 #include <dt-bindings/clock/stih407-clks.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/media/c8sectpfe.h>
14 sbc_serial0: serial@9530000 {
19 compatible = "gpio-leds";
21 label = "Front Panel LED";
22 gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "heartbeat";
26 gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
27 default-state = "off";
41 clock-frequency = <100000>;
42 st,i2c-min-scl-pulse-width-us = <0>;
43 st,i2c-min-sda-pulse-width-us = <5>;
48 clock-frequency = <100000>;
49 st,i2c-min-scl-pulse-width-us = <0>;
50 st,i2c-min-sda-pulse-width-us = <5>;
65 mmc0: sdhci@09060000 {
70 mmc1: sdhci@09080000 {
75 hdmiddc: i2c@9541000 {
77 /* HDMI V1.3a supports Standard mode only */
78 clock-frequency = <100000>;
79 st,i2c-min-scl-pulse-width-us = <0>;
80 st,i2c-min-sda-pulse-width-us = <5>;
83 miphy28lp_phy: miphy28lp@9b22000 {
85 phy_port0: port@9b22000 {
89 phy_port1: port@9b2a000 {
94 st_dwc3: dwc3@8f94000 {
98 ethernet0: dwmac@9630000 {
99 st,tx-retime-src = "clkgen";
102 fixed-link = <0 1 1000 0 0>;
106 compatible = "st,stih407-c8sectpfe";
108 reg = <0x08a20000 0x10000>,
110 reg-names = "c8sectpfe", "c8sectpfe-ram";
111 interrupts = <GIC_SPI 34 IRQ_TYPE_NONE>,
112 <GIC_SPI 35 IRQ_TYPE_NONE>;
113 interrupt-names = "c8sectpfe-error-irq",
114 "c8sectpfe-idle-irq";
115 pinctrl-0 = <&pinctrl_tsin0_serial>;
116 pinctrl-1 = <&pinctrl_tsin0_parallel>;
117 pinctrl-2 = <&pinctrl_tsin3_serial>;
118 pinctrl-3 = <&pinctrl_tsin4_serial_alt3>;
119 pinctrl-4 = <&pinctrl_tsin5_serial_alt1>;
120 pinctrl-names = "tsin0-serial",
125 clocks = <&clk_s_c0_flexgen CLK_PROC_STFE>;
126 clock-names = "c8sectpfe";
128 /* tsin0 is TSA on NIMA */
133 reset-gpios = <&pio15 4 GPIO_ACTIVE_HIGH>;
134 dvb-card = <STV0367_TDA18212_NIMA_1>;
138 sti_uni_player0: sti-uni-player@8d80000 {
142 sti_uni_player2: sti-uni-player@8d82000 {
146 sti_uni_player3: sti-uni-player@8d85000 {
150 sti_sasg_codec: sti-sasg-codec {
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_spdif_out>;
157 compatible = "simple-audio-card";
158 simple-audio-card,name = "STI-B2120";
161 simple-audio-card,dai-link@0 {
166 sound-dai = <&sti_uni_player0>;
170 sound-dai = <&sti_hdmi>;
173 simple-audio-card,dai-link@1 {
177 frame-inversion = <1>;
179 sound-dai = <&sti_uni_player2>;
183 sound-dai = <&sti_sasg_codec 1>;
186 simple-audio-card,dai-link@2 {
191 sound-dai = <&sti_uni_player3>;
195 sound-dai = <&sti_sasg_codec 0>;