Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2016 STMicroelectronics (R&D) Limited.
0004  * Author: Patrice Chotard <patrice.chotard@st.com>
0005  */
0006 /dts-v1/;
0007 #include "stih410.dtsi"
0008 #include <dt-bindings/gpio/gpio.h>
0009 
0010 / {
0011         model = "STiH410 B2260";
0012         compatible = "st,stih410-b2260", "st,stih410";
0013 
0014         chosen {
0015                 stdout-path = &uart1;
0016         };
0017 
0018         memory@40000000 {
0019                 device_type = "memory";
0020                 reg = <0x40000000 0x40000000>;
0021         };
0022 
0023         aliases {
0024                 serial1 = &uart1;
0025                 ethernet0 = &ethernet0;
0026         };
0027 
0028         leds {
0029                 compatible = "gpio-leds";
0030                 user_green_1 {
0031                         label = "User_green_1";
0032                         gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
0033                         linux,default-trigger = "heartbeat";
0034                         default-state = "off";
0035                 };
0036 
0037                 user_green_2 {
0038                         label = "User_green_2";
0039                         gpios = <&pio4 1 GPIO_ACTIVE_LOW>;
0040                         default-state = "off";
0041                 };
0042 
0043                 user_green_3 {
0044                         label = "User_green_3";
0045                         gpios = <&pio2 1 GPIO_ACTIVE_LOW>;
0046                         default-state = "off";
0047                 };
0048 
0049                 user_green_4 {
0050                         label = "User_green_4";
0051                         gpios = <&pio2 5 GPIO_ACTIVE_LOW>;
0052                         default-state = "off";
0053                 };
0054         };
0055 
0056         sound: sound {
0057                 compatible = "simple-audio-card";
0058                 simple-audio-card,name = "STI-B2260";
0059                 status = "okay";
0060                 #address-cells = <1>;
0061                 #size-cells = <0>;
0062 
0063                 simple-audio-card,dai-link@0 {
0064                         reg = <0>;
0065                         /* DAC */
0066                         format = "i2s";
0067                         mclk-fs = <128>;
0068                         cpu {
0069                                 sound-dai = <&sti_uni_player0>;
0070                         };
0071 
0072                         codec {
0073                                 sound-dai = <&sti_hdmi>;
0074                         };
0075                 };
0076         };
0077 
0078         miphy28lp_phy: miphy28lp {
0079 
0080                 phy_port1: port@9b2a000 {
0081                         st,osc-force-ext;
0082                 };
0083         };
0084 
0085         usb2_picophy1: phy2 {
0086                 status = "okay";
0087         };
0088 
0089         usb2_picophy2: phy3 {
0090                 status = "okay";
0091         };
0092 
0093         soc {
0094                 /* Low speed expansion connector */
0095                 uart0: serial@9830000 {
0096                         label = "LS-UART0";
0097                         pinctrl-names = "default", "no-hw-flowctrl";
0098                         pinctrl-0 = <&pinctrl_serial0_hw_flowctrl>;
0099                         pinctrl-1 = <&pinctrl_serial0>;
0100                         rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
0101                         uart-has-rtscts;
0102                         status = "okay";
0103                 };
0104 
0105                 /* Low speed expansion connector */
0106                 uart1: serial@9831000 {
0107                         label = "LS-UART1";
0108                         status = "okay";
0109                 };
0110 
0111                 /* Low speed expansion connector */
0112                 spi0: spi@9844000 {
0113                         label = "LS-SPI0";
0114                         cs-gpios = <&pio30 3 0>;
0115                         status = "okay";
0116                 };
0117 
0118                 /* Low speed expansion connector */
0119                 i2c0: i2c@9840000 {
0120                         label = "LS-I2C0";
0121                         status = "okay";
0122                 };
0123 
0124                 /* Low speed expansion connector */
0125                 i2c1: i2c@9841000 {
0126                         label = "LS-I2C1";
0127                         status = "okay";
0128                 };
0129 
0130                 /* high speed expansion connector */
0131                 i2c2: i2c@9842000 {
0132                         label = "HS-I2C2";
0133                         pinctrl-0 = <&pinctrl_i2c2_alt2_1>;
0134                         status = "okay";
0135                 };
0136 
0137                 /* high speed expansion connector */
0138                 i2c3: i2c@9843000 {
0139                         label = "HS-I2C3";
0140                         pinctrl-0 = <&pinctrl_i2c3_alt3_0>;
0141                         status = "okay";
0142                 };
0143 
0144                 mmc0: sdhci@9060000 {
0145                         pinctrl-0 = <&pinctrl_sd0>;
0146                         bus-width = <4>;
0147                         status = "okay";
0148                 };
0149 
0150                 /* high speed expansion connector */
0151                 mmc1: sdhci@9080000 {
0152                         status = "okay";
0153                 };
0154 
0155                 pwm0: pwm@9810000 {
0156                         status = "okay";
0157                 };
0158 
0159                 pwm1: pwm@9510000 {
0160                         status = "okay";
0161                 };
0162 
0163                 ohci0: usb@9a03c00 {
0164                         status = "okay";
0165                 };
0166 
0167                 ehci0: usb@9a03e00 {
0168                         status = "okay";
0169                 };
0170 
0171                 ohci1: usb@9a83c00 {
0172                         status = "okay";
0173                 };
0174 
0175                 ehci1: usb@9a83e00 {
0176                         status = "okay";
0177                 };
0178 
0179                 st_dwc3: dwc3@8f94000 {
0180                         status = "okay";
0181                 };
0182 
0183                 ethernet0: dwmac@9630000 {
0184                         phy-mode = "rgmii";
0185                         pinctrl-0 = <&pinctrl_rgmii1 &pinctrl_rgmii1_mdio_1>;
0186 
0187                         snps,reset-gpio = <&pio0 7 0>;
0188                         snps,reset-active-low;
0189                         snps,reset-delays-us = <0 10000 1000000>;
0190 
0191                         status = "okay";
0192                 };
0193 
0194                 sti_uni_player0: sti-uni-player@8d80000 {
0195                         status = "okay";
0196                 };
0197                 /* SSC11 to HDMI */
0198                 hdmiddc: i2c@9541000 {
0199                         /* HDMI V1.3a supports Standard mode only */
0200                         clock-frequency = <100000>;
0201                         st,i2c-min-scl-pulse-width-us = <0>;
0202                         st,i2c-min-sda-pulse-width-us = <5>;
0203                         status = "okay";
0204                 };
0205 
0206                 sata1: sata@9b28000 {
0207                         status = "okay";
0208                 };
0209         };
0210 };