1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 2 /* 3 * Copyright (C) 2020 Marcin Sloniewski <marcin 4 */ 5 6 /dts-v1/; 7 8 #include "stm32mp157c-odyssey-som.dtsi" 9 10 / { 11 model = "Seeed Studio Odyssey-STM32MP1 12 compatible = "seeed,stm32mp157c-odysse 13 "seeed,stm32mp157c-odysse 14 15 aliases { 16 ethernet0 = ðernet0; 17 serial0 = &uart4; 18 }; 19 20 chosen { 21 stdout-path = "serial0:115200n 22 }; 23 }; 24 25 &dcmi { 26 pinctrl-names = "default", "sleep"; 27 pinctrl-0 = <&dcmi_pins_b>; 28 pinctrl-1 = <&dcmi_sleep_pins_b>; 29 }; 30 31 ðernet0 { 32 status = "okay"; 33 pinctrl-0 = <ðernet0_rgmii_pins_a>; 34 pinctrl-1 = <ðernet0_rgmii_sleep_pi 35 pinctrl-names = "default", "sleep"; 36 phy-mode = "rgmii-id"; 37 max-speed = <1000>; 38 phy-handle = <&phy0>; 39 assigned-clocks = <&rcc ETHCK_K>, <&rc 40 assigned-clock-parents = <&rcc PLL4_P> 41 assigned-clock-rates = <125000000>; /* 42 st,eth-clk-sel; 43 44 mdio { 45 #address-cells = <1>; 46 #size-cells = <0>; 47 compatible = "snps,dwmac-mdio" 48 phy0: ethernet-phy@7 { /* KSZ9 49 reg = <7>; 50 reset-gpios = <&gpiog 51 reset-assert-us = <100 52 reset-deassert-us = <3 53 }; 54 }; 55 }; 56 57 &i2c1 { 58 pinctrl-names = "default", "sleep"; 59 pinctrl-0 = <&i2c1_pins_a>; 60 pinctrl-1 = <&i2c1_sleep_pins_a>; 61 i2c-scl-rising-time-ns = <100>; 62 i2c-scl-falling-time-ns = <7>; 63 status = "okay"; 64 /delete-property/dmas; 65 /delete-property/dma-names; 66 }; 67 68 &sdmmc1 { 69 pinctrl-names = "default", "opendrain" 70 pinctrl-0 = <&sdmmc1_b4_pins_a>; 71 pinctrl-1 = <&sdmmc1_b4_od_pins_a>; 72 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; 73 cd-gpios = <&gpioi 3 (GPIO_ACTIVE_LOW 74 disable-wp; 75 st,neg-edge; 76 bus-width = <4>; 77 vmmc-supply = <&v3v3>; 78 status = "okay"; 79 }; 80 81 &uart4 { 82 pinctrl-names = "default"; 83 pinctrl-0 = <&uart4_pins_a>; 84 /delete-property/dmas; 85 /delete-property/dma-names; 86 status = "okay"; 87 }; 88
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.