185 lines
3.3 KiB
Plaintext
185 lines
3.3 KiB
Plaintext
// 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 "stm32mp157.dtsi"
|
|
#include "stm32mp15xc.dtsi"
|
|
#include "stm32mp15-pinctrl.dtsi"
|
|
#include "stm32mp15xxac-pinctrl.dtsi"
|
|
#include "stm32mp15xx-dkx.dtsi"
|
|
#include <dt-bindings/rtc/rtc-stm32.h>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
|
|
compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
|
|
|
|
aliases {
|
|
ethernet0 = ðernet0;
|
|
serial0 = &uart4;
|
|
serial1 = &usart3;
|
|
serial2 = &uart7;
|
|
serial3 = &usart2;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
reserved-memory {
|
|
gpu_reserved: gpu@da000000 {
|
|
reg = <0xda000000 0x4000000>;
|
|
no-map;
|
|
};
|
|
|
|
optee_memory: optee@0xde000000 {
|
|
reg = <0xde000000 0x02000000>;
|
|
no-map;
|
|
};
|
|
};
|
|
|
|
wifi_pwrseq: wifi-pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
reset-gpios = <&gpioh 4 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&cryp1 {
|
|
status="okay";
|
|
};
|
|
|
|
&dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
dsi_in: endpoint {
|
|
remote-endpoint = <<dc_ep1_out>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
dsi_out: endpoint {
|
|
remote-endpoint = <&panel_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
panel_otm8009a: panel-otm8009a@0 {
|
|
compatible = "orisetech,otm8009a";
|
|
reg = <0>;
|
|
reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
|
|
power-supply = <&v3v3>;
|
|
status = "okay";
|
|
|
|
port {
|
|
panel_in: endpoint {
|
|
remote-endpoint = <&dsi_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
touchscreen@2a {
|
|
compatible = "focaltech,ft6236";
|
|
reg = <0x2a>;
|
|
interrupts = <2 2>;
|
|
interrupt-parent = <&gpiof>;
|
|
interrupt-controller;
|
|
touchscreen-size-x = <480>;
|
|
touchscreen-size-y = <800>;
|
|
panel = <&panel_otm8009a>;
|
|
status = "okay";
|
|
};
|
|
touchscreen@38 {
|
|
compatible = "focaltech,ft6236";
|
|
reg = <0x38>;
|
|
interrupts = <2 2>;
|
|
interrupt-parent = <&gpiof>;
|
|
interrupt-controller;
|
|
touchscreen-size-x = <480>;
|
|
touchscreen-size-y = <800>;
|
|
panel = <&panel_otm8009a>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
<dc {
|
|
status = "okay";
|
|
|
|
port {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ltdc_ep1_out: endpoint@1 {
|
|
reg = <1>;
|
|
remote-endpoint = <&dsi_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&rtc {
|
|
st,lsco = <RTC_OUT2_RMP>;
|
|
pinctrl-0 = <&rtc_out2_rmp_pins_a>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
/* Wifi */
|
|
&sdmmc2 {
|
|
arm,primecell-periphid = <0x10153180>;
|
|
pinctrl-names = "default", "opendrain", "sleep";
|
|
pinctrl-0 = <&sdmmc2_b4_pins_a>;
|
|
pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
|
|
pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
|
|
non-removable;
|
|
st,neg-edge;
|
|
bus-width = <4>;
|
|
vmmc-supply = <&v3v3>;
|
|
mmc-pwrseq = <&wifi_pwrseq>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
brcmf: bcrmf@1 {
|
|
reg = <1>;
|
|
compatible = "brcm,bcm4329-fmac";
|
|
};
|
|
};
|
|
|
|
/* Bluetooth */
|
|
&usart2 {
|
|
pinctrl-names = "default", "sleep", "idle";
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
pinctrl-1 = <&usart2_sleep_pins_a>;
|
|
pinctrl-2 = <&usart2_idle_pins_a>;
|
|
uart-has-rtscts;
|
|
status = "okay";
|
|
|
|
bluetooth {
|
|
shutdown-gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
|
|
compatible = "brcm,bcm43438-bt";
|
|
max-speed = <3000000>;
|
|
vbat-supply = <&v3v3>;
|
|
vddio-supply = <&v3v3>;
|
|
};
|
|
};
|
|
|
|
&optee_memory {
|
|
status = "okay";
|
|
};
|
|
|
|
&optee {
|
|
status = "okay";
|
|
};
|