mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
1b28a5e2b0
DT alignment with Linux 5.7-rc2, including the kernel commits 431c89e6f323 ARM: dts: stm32: use correct vqmmc regu for eMMC on stm32mp1 ED1/EV1 boards 79e965053872 ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 boards 877db62ea516 ARM: dts: stm32: add cd-gpios properties for SD-cards on STM32MP1 boards 7519e95ba5f8 ARM: dts: stm32: Do clean up in stmpic nodes on stm32mp15 boards f68e2dbc591a ARM: dts: stm32: Rename stmfx joystick pins on stm32mp157c-ev1 d6210da4f8bf ARM: dts: stm32: add cpu clock-frequency property on stm32mp15x b65b6fc56925 ARM: dts: stm32: add wakeup-source in all I2C nodes of stm32mp157c 1c1cf5996cfb ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp157c-ed1 bef15fc0fad9 ARM: dts: stm32: add i2c2/i2c5 sleep pinctrl on stm32mp157c-ev1 b7fc0a87b9ac ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp15xx-dkx a5e557655285 ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp15 DK boards 8bc631b650a6 ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1 fccd6a577bb3 ARM: dts: stm32: Correct stmfx node name on stm32mp157c-ev1 board cc775a83db65 ARM: dts: stm32: add resets property on all DMA nodes on stm32mp151 c5fae093511b ARM: dts: stm32: enable USB OTG Dual Role on stm32mp157c-ev1 9879e2165758 ARM: dts: stm32: add USB OTG pinctrl to stm32mp15 82ac8a81f985 ARM: dts: stm32: add USB OTG full support on stm32mp151 8714b26e2863 ARM: dts: stm32: remove useless properties in stm32mp157a-avenger96 stmpic node a7959919709e ARM: dts: stm32: Add UART8 pins A pinmux entry on stm32mp1 4d7c53a684da ARM: dts: stm32: Add USART3 pins A pinmux entry on stm32mp1 80ab128332ee ARM: dts: stm32: Add SAI2A pins B pinmux entry on stm32mp1 ab7f98c0c546 ARM: dts: stm32: Add Ethernet0 RMII pins A pinmux entry on stm32mp1 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
367 lines
7.1 KiB
Text
367 lines
7.1 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
|
/*
|
|
* Copyright (C) STMicroelectronics 2017 - All Rights Reserved
|
|
* Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include "stm32mp157c-ed1.dts"
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32MP157C eval daughter on eval mother";
|
|
compatible = "st,stm32mp157c-ev1", "st,stm32mp157c-ed1", "st,stm32mp157";
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &uart4;
|
|
ethernet0 = ðernet0;
|
|
};
|
|
|
|
clocks {
|
|
clk_ext_camera: clk-ext-camera {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <24000000>;
|
|
};
|
|
};
|
|
|
|
joystick {
|
|
compatible = "gpio-keys";
|
|
pinctrl-0 = <&joystick_pins>;
|
|
pinctrl-names = "default";
|
|
button-0 {
|
|
label = "JoySel";
|
|
linux,code = <KEY_ENTER>;
|
|
interrupt-parent = <&stmfx_pinctrl>;
|
|
interrupts = <0 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
button-1 {
|
|
label = "JoyDown";
|
|
linux,code = <KEY_DOWN>;
|
|
interrupt-parent = <&stmfx_pinctrl>;
|
|
interrupts = <1 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
button-2 {
|
|
label = "JoyLeft";
|
|
linux,code = <KEY_LEFT>;
|
|
interrupt-parent = <&stmfx_pinctrl>;
|
|
interrupts = <2 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
button-3 {
|
|
label = "JoyRight";
|
|
linux,code = <KEY_RIGHT>;
|
|
interrupt-parent = <&stmfx_pinctrl>;
|
|
interrupts = <3 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
button-4 {
|
|
label = "JoyUp";
|
|
linux,code = <KEY_UP>;
|
|
interrupt-parent = <&stmfx_pinctrl>;
|
|
interrupts = <4 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
};
|
|
|
|
panel_backlight: panel-backlight {
|
|
compatible = "gpio-backlight";
|
|
gpios = <&gpiod 13 GPIO_ACTIVE_LOW>;
|
|
default-on;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&cec {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&cec_pins_a>;
|
|
status = "okay";
|
|
};
|
|
|
|
&dcmi {
|
|
status = "okay";
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&dcmi_pins_a>;
|
|
pinctrl-1 = <&dcmi_sleep_pins_a>;
|
|
|
|
port {
|
|
dcmi_0: endpoint {
|
|
remote-endpoint = <&ov5640_0>;
|
|
bus-width = <8>;
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
pclk-sample = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
phy-dsi-supply = <®18>;
|
|
status = "okay";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
dsi_in: endpoint {
|
|
remote-endpoint = <<dc_ep0_out>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
dsi_out: endpoint {
|
|
remote-endpoint = <&dsi_panel_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
panel-dsi@0 {
|
|
compatible = "raydium,rm68200";
|
|
reg = <0>;
|
|
reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>;
|
|
backlight = <&panel_backlight>;
|
|
power-supply = <&v3v3>;
|
|
status = "okay";
|
|
|
|
port {
|
|
dsi_panel_in: endpoint {
|
|
remote-endpoint = <&dsi_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
ðernet0 {
|
|
status = "okay";
|
|
pinctrl-0 = <ðernet0_rgmii_pins_a>;
|
|
pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>;
|
|
pinctrl-names = "default", "sleep";
|
|
phy-mode = "rgmii-id";
|
|
max-speed = <1000>;
|
|
phy-handle = <&phy0>;
|
|
|
|
mdio0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "snps,dwmac-mdio";
|
|
phy0: ethernet-phy@0 {
|
|
reg = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&fmc {
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&fmc_pins_a>;
|
|
pinctrl-1 = <&fmc_sleep_pins_a>;
|
|
status = "okay";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
nand@0 {
|
|
reg = <0>;
|
|
nand-on-flash-bbt;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&i2c2_pins_a>;
|
|
pinctrl-1 = <&i2c2_pins_sleep_a>;
|
|
i2c-scl-rising-time-ns = <185>;
|
|
i2c-scl-falling-time-ns = <20>;
|
|
status = "okay";
|
|
|
|
ov5640: camera@3c {
|
|
compatible = "ovti,ov5640";
|
|
reg = <0x3c>;
|
|
clocks = <&clk_ext_camera>;
|
|
clock-names = "xclk";
|
|
DOVDD-supply = <&v2v8>;
|
|
powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>;
|
|
reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
|
|
rotation = <180>;
|
|
status = "okay";
|
|
|
|
port {
|
|
ov5640_0: endpoint {
|
|
remote-endpoint = <&dcmi_0>;
|
|
bus-width = <8>;
|
|
data-shift = <2>; /* lines 9:2 are used */
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
pclk-sample = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
stmfx: stmfx@42 {
|
|
compatible = "st,stmfx-0300";
|
|
reg = <0x42>;
|
|
interrupts = <8 IRQ_TYPE_EDGE_RISING>;
|
|
interrupt-parent = <&gpioi>;
|
|
vdd-supply = <&v3v3>;
|
|
|
|
stmfx_pinctrl: pinctrl {
|
|
compatible = "st,stmfx-0300-pinctrl";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
gpio-ranges = <&stmfx_pinctrl 0 0 24>;
|
|
|
|
joystick_pins: joystick-pins {
|
|
pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4";
|
|
bias-pull-down;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c5 {
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&i2c5_pins_a>;
|
|
pinctrl-1 = <&i2c5_pins_sleep_a>;
|
|
i2c-scl-rising-time-ns = <185>;
|
|
i2c-scl-falling-time-ns = <20>;
|
|
status = "okay";
|
|
};
|
|
|
|
<dc {
|
|
status = "okay";
|
|
|
|
port {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ltdc_ep0_out: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&dsi_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&m_can1 {
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&m_can1_pins_a>;
|
|
pinctrl-1 = <&m_can1_sleep_pins_a>;
|
|
status = "okay";
|
|
};
|
|
|
|
&qspi {
|
|
pinctrl-names = "default", "sleep";
|
|
pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a &qspi_bk2_pins_a>;
|
|
pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a &qspi_bk2_sleep_pins_a>;
|
|
reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
flash0: mx66l51235l@0 {
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-rx-bus-width = <4>;
|
|
spi-max-frequency = <108000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
};
|
|
|
|
flash1: mx66l51235l@1 {
|
|
compatible = "jedec,spi-nor";
|
|
reg = <1>;
|
|
spi-rx-bus-width = <4>;
|
|
spi-max-frequency = <108000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
};
|
|
};
|
|
|
|
&sdmmc3 {
|
|
pinctrl-names = "default", "opendrain", "sleep";
|
|
pinctrl-0 = <&sdmmc3_b4_pins_a>;
|
|
pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
|
|
pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
|
|
broken-cd;
|
|
st,neg-edge;
|
|
bus-width = <4>;
|
|
vmmc-supply = <&v3v3>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&spi1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi1_pins_a>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&timers2 {
|
|
/* spare dmas for other usage (un-delete to enable pwm capture) */
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "disabled";
|
|
pwm {
|
|
pinctrl-0 = <&pwm2_pins_a>;
|
|
pinctrl-1 = <&pwm2_sleep_pins_a>;
|
|
pinctrl-names = "default", "sleep";
|
|
status = "okay";
|
|
};
|
|
timer@1 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&timers8 {
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "disabled";
|
|
pwm {
|
|
pinctrl-0 = <&pwm8_pins_a>;
|
|
pinctrl-1 = <&pwm8_sleep_pins_a>;
|
|
pinctrl-names = "default", "sleep";
|
|
status = "okay";
|
|
};
|
|
timer@7 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&timers12 {
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "disabled";
|
|
pwm {
|
|
pinctrl-0 = <&pwm12_pins_a>;
|
|
pinctrl-1 = <&pwm12_sleep_pins_a>;
|
|
pinctrl-names = "default", "sleep";
|
|
status = "okay";
|
|
};
|
|
timer@11 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&usbh_ehci {
|
|
phys = <&usbphyc_port0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg_hs {
|
|
pinctrl-0 = <&usbotg_hs_pins_a>;
|
|
pinctrl-names = "default";
|
|
phys = <&usbphyc_port1 0>;
|
|
phy-names = "usb2-phy";
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphyc {
|
|
status = "okay";
|
|
};
|