2019-02-05 17:07:00 +08:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
|
|
|
/*
|
|
|
|
* Copyright (C) STMicroelectronics 2019 - All Rights Reserved
|
|
|
|
* Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "stm32mp157c.dtsi"
|
|
|
|
#include "stm32mp157-pinctrl.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32MP157A-DK1 Discovery Board";
|
|
|
|
compatible = "st,stm32mp157a-dk1", "st,stm32mp157";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
ethernet0 = ðernet0;
|
|
|
|
serial0 = &uart4;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@c0000000 {
|
|
|
|
reg = <0xc0000000 0x20000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
led {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
blue {
|
|
|
|
label = "heartbeat";
|
|
|
|
gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
};
|
2019-03-01 16:47:00 +08:00
|
|
|
|
|
|
|
v3v3: regulator-3v3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "v3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2019-02-05 17:07:00 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
ðernet0 {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <ðernet0_rgmii_pins_a>;
|
|
|
|
pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
max-speed = <1000>;
|
|
|
|
phy-handle = <&phy0>;
|
|
|
|
|
|
|
|
mdio0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,dwmac-mdio";
|
|
|
|
phy0: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-03-01 17:18:00 +08:00
|
|
|
&ipcc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-02-05 17:07:00 +08:00
|
|
|
&iwdg2 {
|
|
|
|
timeout-sec = <32>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&rng1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&rtc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-03-01 16:47:00 +08:00
|
|
|
&sdmmc1 {
|
|
|
|
pinctrl-names = "default", "opendrain", "sleep";
|
|
|
|
pinctrl-0 = <&sdmmc1_b4_pins_a>;
|
|
|
|
pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
|
|
|
|
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
|
|
|
|
broken-cd;
|
|
|
|
st,neg-edge;
|
|
|
|
bus-width = <4>;
|
|
|
|
vmmc-supply = <&v3v3>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-02-05 17:07:00 +08:00
|
|
|
&uart4 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&uart4_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|