mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 15:40:29 +09:00
ARM: dts: meson-sm1: add u-boot specific MMC controller compatible
In order to enable the Amlogic SM1 MMC controller fix, we need to add a u-boot specific MMC controller compatible. This adds a new meson-sm1-u-boot.dtsi and reworks the other -u-boot.dtsi to use this for SM1 based boards. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
0dbb54eb32
commit
c87eab8161
@ -4,4 +4,5 @@
|
|||||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "meson-g12-common-u-boot.dtsi"
|
||||||
#include "meson-khadas-vim3-u-boot.dtsi"
|
#include "meson-khadas-vim3-u-boot.dtsi"
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "meson-g12-common-u-boot.dtsi"
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
spi0 = &spifc;
|
spi0 = &spifc;
|
||||||
|
@ -4,4 +4,5 @@
|
|||||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "meson-sm1-u-boot.dtsi"
|
||||||
#include "meson-khadas-vim3-u-boot.dtsi"
|
#include "meson-khadas-vim3-u-boot.dtsi"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "meson-g12-common-u-boot.dtsi"
|
#include "meson-sm1-u-boot.dtsi"
|
||||||
|
|
||||||
ðmac {
|
ðmac {
|
||||||
snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
|
snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "meson-g12-common-u-boot.dtsi"
|
#include "meson-sm1-u-boot.dtsi"
|
||||||
|
20
arch/arm/dts/meson-sm1-u-boot.dtsi
Normal file
20
arch/arm/dts/meson-sm1-u-boot.dtsi
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2020 BayLibre, SAS.
|
||||||
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "meson-g12-common-u-boot.dtsi"
|
||||||
|
|
||||||
|
&sd_emmc_a {
|
||||||
|
compatible = "amlogic,meson-sm1-mmc";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sd_emmc_b {
|
||||||
|
compatible = "amlogic,meson-sm1-mmc";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sd_emmc_c {
|
||||||
|
compatible = "amlogic,meson-sm1-mmc";
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user