mirror of
https://xff.cz/git/u-boot/
synced 2025-09-26 21:11:18 +02:00
arm: dts: ls1028a-rdb: sync device tree with Linux
Allow device trees to be reused between Linux and U-Boot. The source for these device trees is linux-next as of commit bd8a9cd624c6 ("arm64: dts: ls1028a-rdb: update copyright"), which was chosen because some changes needed to be done to the Linux DTs too, before they could be shared: https://lore.kernel.org/linux-arm-kernel/20211202141528.2450169-5-vladimir.oltean@nxp.com/T/#m6f63c92e75fa79a01144b2c2c6dc4776e7971395 There are two more commits on the RDB device tree which haven't been picked up yet, because they have dependencies on the SoC device tree: dd3d936a1b17 ("arm64: dts: ls1028a: add ftm_alarm1 node to be used as wakeup source") b2e2d3e02fb6 ("arm64: dts: ls1028a-rdb: enable pwm0") These will be picked up on the next resync. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: Michael Walle <michael@walle.cc>
This commit is contained in:
committed by
Priyanka Jain
parent
50c49ef2ff
commit
bee9fd2957
@@ -1,19 +1,27 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
/*
|
/*
|
||||||
* NXP ls1028ARDB device tree source
|
* Device Tree file for NXP LS1028A RDB Board.
|
||||||
*
|
*
|
||||||
* Copyright 2019 NXP
|
* Copyright 2018-2021 NXP
|
||||||
|
*
|
||||||
|
* Harninder Rai <harninder.rai@nxp.com>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "fsl-ls1028a.dtsi"
|
#include "fsl-ls1028a.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "NXP Layerscape 1028a RDB Board";
|
model = "LS1028A RDB Board";
|
||||||
compatible = "fsl,ls1028a-rdb", "fsl,ls1028a";
|
compatible = "fsl,ls1028a-rdb", "fsl,ls1028a";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
crypto = &crypto;
|
||||||
|
serial0 = &duart0;
|
||||||
|
serial1 = &duart1;
|
||||||
|
mmc0 = &esdhc;
|
||||||
|
mmc1 = &esdhc1;
|
||||||
|
rtc1 = &ftm_alarm0;
|
||||||
spi0 = &fspi;
|
spi0 = &fspi;
|
||||||
ethernet0 = &enetc_port0;
|
ethernet0 = &enetc_port0;
|
||||||
ethernet1 = &enetc_port2;
|
ethernet1 = &enetc_port2;
|
||||||
@@ -22,6 +30,83 @@
|
|||||||
ethernet4 = &mscc_felix_port2;
|
ethernet4 = &mscc_felix_port2;
|
||||||
ethernet5 = &mscc_felix_port3;
|
ethernet5 = &mscc_felix_port3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200n8";
|
||||||
|
};
|
||||||
|
|
||||||
|
memory@80000000 {
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0x0 0x80000000 0x1 0x0000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sys_mclk: clock-mclk {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
clock-frequency = <25000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_1p8v: regulator-1p8v {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "1P8V";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
sb_3v3: regulator-sb3v3 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "3v3_vbus";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
sound {
|
||||||
|
compatible = "simple-audio-card";
|
||||||
|
simple-audio-card,format = "i2s";
|
||||||
|
simple-audio-card,widgets =
|
||||||
|
"Microphone", "Microphone Jack",
|
||||||
|
"Headphone", "Headphone Jack",
|
||||||
|
"Speaker", "Speaker Ext",
|
||||||
|
"Line", "Line In Jack";
|
||||||
|
simple-audio-card,routing =
|
||||||
|
"MIC_IN", "Microphone Jack",
|
||||||
|
"Microphone Jack", "Mic Bias",
|
||||||
|
"LINE_IN", "Line In Jack",
|
||||||
|
"Headphone Jack", "HP_OUT",
|
||||||
|
"Speaker Ext", "LINE_OUT";
|
||||||
|
|
||||||
|
simple-audio-card,cpu {
|
||||||
|
sound-dai = <&sai4>;
|
||||||
|
frame-master;
|
||||||
|
bitclock-master;
|
||||||
|
};
|
||||||
|
|
||||||
|
simple-audio-card,codec {
|
||||||
|
sound-dai = <&sgtl5000>;
|
||||||
|
frame-master;
|
||||||
|
bitclock-master;
|
||||||
|
system-clock-frequency = <25000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&can0 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
can-transceiver {
|
||||||
|
max-bitrate = <5000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&can1 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
can-transceiver {
|
||||||
|
max-bitrate = <5000000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&duart0 {
|
&duart0 {
|
||||||
@@ -67,43 +152,83 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&esdhc {
|
&esdhc {
|
||||||
|
sd-uhs-sdr104;
|
||||||
|
sd-uhs-sdr50;
|
||||||
|
sd-uhs-sdr25;
|
||||||
|
sd-uhs-sdr12;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&esdhc1 {
|
&esdhc1 {
|
||||||
status = "okay";
|
|
||||||
mmc-hs200-1_8v;
|
mmc-hs200-1_8v;
|
||||||
|
mmc-hs400-1_8v;
|
||||||
|
bus-width = <8>;
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&fspi {
|
&fspi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mt35xu02g0: flash@0 {
|
mt35xu02g0: flash@0 {
|
||||||
|
compatible = "jedec,spi-nor";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
compatible = "jedec,spi-nor";
|
|
||||||
spi-max-frequency = <50000000>;
|
spi-max-frequency = <50000000>;
|
||||||
|
/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
|
||||||
|
spi-rx-bus-width = <8>; /* 8 SPI Rx lines */
|
||||||
|
spi-tx-bus-width = <1>; /* 1 SPI Tx line */
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-rx-bus-width = <8>;
|
|
||||||
spi-tx-bus-width = <1>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
i2c-mux@77 {
|
i2c-mux@77 {
|
||||||
|
compatible = "nxp,pca9847";
|
||||||
compatible = "nxp,pca9547";
|
|
||||||
reg = <0x77>;
|
reg = <0x77>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
i2c@1 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x1>;
|
||||||
|
|
||||||
|
sgtl5000: audio-codec@a {
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
|
compatible = "fsl,sgtl5000";
|
||||||
|
reg = <0xa>;
|
||||||
|
VDDA-supply = <®_1p8v>;
|
||||||
|
VDDIO-supply = <®_1p8v>;
|
||||||
|
clocks = <&sys_mclk>;
|
||||||
|
sclk-strength = <3>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
i2c@2 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x02>;
|
||||||
|
|
||||||
|
current-monitor@40 {
|
||||||
|
compatible = "ti,ina220";
|
||||||
|
reg = <0x40>;
|
||||||
|
shunt-resistor = <500>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
i2c@3 {
|
i2c@3 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <0x3>;
|
reg = <0x3>;
|
||||||
|
|
||||||
|
temperature-sensor@4c {
|
||||||
|
compatible = "nxp,sa56004";
|
||||||
|
reg = <0x4c>;
|
||||||
|
vcc-supply = <&sb_3v3>;
|
||||||
|
};
|
||||||
|
|
||||||
rtc@51 {
|
rtc@51 {
|
||||||
compatible = "nxp,pcf2129";
|
compatible = "nxp,pcf2129";
|
||||||
reg = <0x51>;
|
reg = <0x51>;
|
||||||
@@ -153,6 +278,14 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&optee {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sai4 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&sata {
|
&sata {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@@ -162,5 +295,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&usb1 {
|
&usb1 {
|
||||||
|
dr_mode = "otg";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user