1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2020 Marcin Sloniewski <marcin.sloniewski@gmail.com>.
8 #include "stm32mp157c-odyssey-som.dtsi"
11 model = "Seeed Studio Odyssey-STM32MP157C Board";
12 compatible = "seeed,stm32mp157c-odyssey",
13 "seeed,stm32mp157c-odyssey-som", "st,stm32mp157";
16 ethernet0 = ðernet0;
21 stdout-path = "serial0:115200n8";
27 pinctrl-0 = <ðernet0_rgmii_pins_a>;
28 pinctrl-1 = <ðernet0_rgmii_sleep_pins_a>;
29 pinctrl-names = "default", "sleep";
30 phy-mode = "rgmii-id";
33 assigned-clocks = <&rcc ETHCK_K>, <&rcc PLL4_P>;
34 assigned-clock-parents = <&rcc PLL4_P>;
35 assigned-clock-rates = <125000000>; /* Clock PLL4 to 750Mhz in ATF/U-Boot */
41 compatible = "snps,dwmac-mdio";
42 phy0: ethernet-phy@7 { /* KSZ9031RN */
44 reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>; /* ETH_RST# */
45 reset-assert-us = <10000>;
46 reset-deassert-us = <300>;
52 pinctrl-names = "default", "sleep";
53 pinctrl-0 = <&i2c1_pins_a>;
54 pinctrl-1 = <&i2c1_sleep_pins_a>;
55 i2c-scl-rising-time-ns = <100>;
56 i2c-scl-falling-time-ns = <7>;
58 /delete-property/dmas;
59 /delete-property/dma-names;
63 pinctrl-names = "default", "opendrain", "sleep";
64 pinctrl-0 = <&sdmmc1_b4_pins_a>;
65 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
66 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
67 cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
71 vmmc-supply = <&v3v3>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&uart4_pins_a>;