1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2021 STMicroelectronics
4 * Author: Alain Volmat <avolmat@me.com>
7 #include "stih418.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
10 model = "STiH418 B2264";
11 compatible = "st,stih418-b2264", "st,stih418";
14 stdout-path = &sbc_serial0;
18 device_type = "memory";
19 reg = <0x40000000 0xc0000000>;
24 operating-points-v2 = <&cpu_opp_table>;
25 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
26 cpu-release-addr = <0x94100b8>;
29 operating-points-v2 = <&cpu_opp_table>;
30 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
31 cpu-release-addr = <0x94100b8>;
34 operating-points-v2 = <&cpu_opp_table>;
35 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
36 cpu-release-addr = <0x94100b8>;
39 operating-points-v2 = <&cpu_opp_table>;
40 /* u-boot puts hpen in SBC dmem at 0xb8 offset */
41 cpu-release-addr = <0x94100b8>;
45 cpu_opp_table: opp_table {
46 compatible = "operating-points-v2";
50 opp-hz = /bits/ 64 <300000000>;
51 opp-microvolt = <784000>;
54 opp-hz = /bits/ 64 <500000000>;
55 opp-microvolt = <784000>;
58 opp-hz = /bits/ 64 <800000000>;
59 opp-microvolt = <784000>;
62 opp-hz = /bits/ 64 <1200000000>;
63 opp-microvolt = <784000>;
66 opp-hz = /bits/ 64 <1500000000>;
67 opp-microvolt = <784000>;
72 ttyAS0 = &sbc_serial0;
73 ethernet0 = ðernet0;
78 compatible = "gpio-leds";
80 gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
81 default-state = "off";
85 pin-controller-sbc@961f080 {
89 rxd0 = <&pio1 4 ALT1 IN DE_IO 300 CLK_A>;
90 rxd1 = <&pio1 5 ALT1 IN DE_IO 300 CLK_A>;
91 rxd2 = <&pio1 6 ALT1 IN DE_IO 300 CLK_A>;
92 rxd3 = <&pio1 7 ALT1 IN DE_IO 300 CLK_A>;
93 rxdv = <&pio2 0 ALT1 IN DE_IO 300 CLK_A>;
108 pinctrl-0 = <&pinctrl_rgmii1 &pinctrl_rgmii1_mdio_1>;
109 st,tx-retime-src = "clkgen";
111 snps,reset-gpio = <&pio0 7 0>;
112 snps,reset-active-low;
113 snps,reset-delays-us = <0 10000 1000000>;
119 phy_port0: port@9b22000 {
120 st,sata-gen = <2>; /* SATA GEN3 */