mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 03:24:55 +08:00
750d8df6e7
Boards based on imx6ul have duplicate memory nodes: - One coming from the board dts file: memory@ - One coming from the imx6ul.dtsi file. Fix the duplication by removing the memory node from the dtsi file and by adding 'device_type = "memory";' in the board dts. Reported-by: Rob Herring <robh@kernel.org> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright 2018 Toradex AG
|
|
*/
|
|
|
|
#include "imx6ull-colibri.dtsi"
|
|
|
|
/ {
|
|
memory@80000000 {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x20000000>;
|
|
};
|
|
|
|
wifi_pwrseq: sdio-pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_snvs_wifi_pdn>;
|
|
reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&cpu0 {
|
|
clock-frequency = <792000000>;
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3
|
|
&pinctrl_gpio4 &pinctrl_gpio5>;
|
|
|
|
};
|
|
|
|
&iomuxc_snvs {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_snvs_gpio1 &pinctrl_snvs_gpio2>;
|
|
};
|
|
|
|
&usdhc2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usdhc2>;
|
|
assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>;
|
|
assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
|
|
assigned-clock-rates = <0>, <198000000>;
|
|
cap-power-off-card;
|
|
keep-power-in-suspend;
|
|
mmc-pwrseq = <&wifi_pwrseq>;
|
|
no-1-8-v;
|
|
non-removable;
|
|
vmmc-supply = <®_module_3v3>;
|
|
wakeup-source;
|
|
status = "okay";
|
|
};
|