mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-07 21:24:00 +08:00
f017d0119f
Add SDHI0 and SDHI2 interfaces to kzm9g-reference. With no pinctrl DT support we cannot use GPIO card-detection and regulator switching. Also update the MMCIF DT node to use all 8 data lines and avoid redundant information in DT. Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> [ horms+renesas@verge.net.au: Updated for pinmux changes by Laurent Pinchart ] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
78 lines
1.7 KiB
Plaintext
78 lines
1.7 KiB
Plaintext
/*
|
|
* Device Tree Source for the KZM-A9-GT board
|
|
*
|
|
* Copyright (C) 2012 Horms Solutions Ltd.
|
|
*
|
|
* Based on sh73a0-kzm9g.dts
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "sh73a0-reference.dtsi"
|
|
|
|
/ {
|
|
model = "KZM-A9-GT";
|
|
compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
|
|
|
|
chosen {
|
|
bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200";
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x41000000 0x1e800000>;
|
|
};
|
|
|
|
reg_1p8v: regulator@0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fixed-1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
reg_2p8v: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fixed-2.8V";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
sdhi0: sdhi@0xee100000 {
|
|
compatible = "renesas,shmobile-sdhi";
|
|
reg = <0xee100000 0x100>;
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <0 83 4
|
|
0 84 4
|
|
0 85 4>;
|
|
vmmc-supply = <®_2p8v>;
|
|
bus-width = <4>;
|
|
toshiba,mmc-has-idle-wait;
|
|
};
|
|
|
|
sdhi2: sdhi@0xee140000 {
|
|
compatible = "renesas,shmobile-sdhi";
|
|
reg = <0xee140000 0x100>;
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <0 104 4
|
|
0 105 4>;
|
|
vmmc-supply = <®_2p8v>;
|
|
bus-width = <4>;
|
|
broken-cd;
|
|
toshiba,mmc-wrprotect-disable;
|
|
toshiba,mmc-has-idle-wait;
|
|
};
|
|
};
|
|
|
|
&mmcif {
|
|
bus-width = <8>;
|
|
vmmc-supply = <®_1p8v>;
|
|
};
|