From: Ziyuan <xzy.xu@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] OF_PLATDATA questions on rk3399 platfrom
Date: Mon, 8 May 2017 15:01:06 +0800 [thread overview]
Message-ID: <591017B2.5010103@rock-chips.com> (raw)
hi simon,
I need to achieve emmc_phy physical address in driver, so that I can
configure phy in different scenarios (phy register address should be
0xff77f780). see below:
sdhci: sdhci at fe330000 {
phys = <&emmc_phy>;
phy-names = "phy_arasan";
};
grf: syscon at ff770000 {
reg = <0x0 0xff770000 0x0 0x10000>;
emmc_phy: phy at f780 {
compatible = "rockchip,rk3399-emmc-phy";
reg = <0xf780 0x24>;
#phy-cells = <0>;
status = "disabled";
};
};
AKA, I can't use libfdt if OF_PLATDATA is enabled, so how to get it?
next reply other threads:[~2017-05-08 7:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 7:01 Ziyuan [this message]
2017-05-20 2:29 ` [U-Boot] OF_PLATDATA questions on rk3399 platfrom Simon Glass
2017-05-23 8:36 ` Kever Yang
2017-06-21 3:29 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=591017B2.5010103@rock-chips.com \
--to=xzy.xu@rock-chips.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox