提交 01a6da16 编写于 作者: M Michal Simek

xilinx: Fix xlnx,mio_bank property

s/xlnx,mio_bank/xlnx,mio-bank/g

DT binding is describing mio-bank not mio_bank that's why fix all DTSes and
also driver itself.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
Acked-by: NPeng Fan <peng.fan@nxp.com>
上级 f692b479
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
/* microSD card slot */ /* microSD card slot */
&sdhci1 { &sdhci1 {
status = "okay"; status = "okay";
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
clock-frequency = <199998000>; clock-frequency = <199998000>;
max-frequency = <50000000>; max-frequency = <50000000>;
no-1-8-v; no-1-8-v;
......
...@@ -51,6 +51,6 @@ ...@@ -51,6 +51,6 @@
/* Micron MTFC8GAKAJCN-4M 8 GB eMMC */ /* Micron MTFC8GAKAJCN-4M 8 GB eMMC */
&sdhci0 { &sdhci0 {
status = "okay"; status = "okay";
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
clock-frequency = <199998000>; clock-frequency = <199998000>;
}; };
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
clocks = <&clk25 &clk25>; clocks = <&clk25 &clk25>;
xlnx,device_id = <0>; xlnx,device_id = <0>;
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
#stream-id-cells = <1>; #stream-id-cells = <1>;
}; };
}; };
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
clocks = <&clk25 &clk25>; clocks = <&clk25 &clk25>;
xlnx,device_id = <1>; xlnx,device_id = <1>;
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
#stream-id-cells = <1>; #stream-id-cells = <1>;
}; };
}; };
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
status = "okay"; status = "okay";
no-1-8-v; no-1-8-v;
disable-wp; disable-wp;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&gem0 { &gem0 {
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
non-removable; non-removable;
disable-wp; disable-wp;
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
}; };
&uart0 { /* uart0 MIO38-39 */ &uart0 { /* uart0 MIO38-39 */
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
non-removable; non-removable;
disable-wp; disable-wp;
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; /* FIXME tap delay */ xlnx,mio-bank = <0>; /* FIXME tap delay */
}; };
&uart0 { /* uart0 MIO38-39 */ &uart0 { /* uart0 MIO38-39 */
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
status = "disable"; status = "disable";
no-1-8-v; no-1-8-v;
disable-wp; disable-wp;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&gem0 { &gem0 {
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
non-removable; non-removable;
disable-wp; disable-wp;
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; /* FIXME tap delay */ xlnx,mio-bank = <0>; /* FIXME tap delay */
}; };
&uart0 { /* uart0 MIO38-39 */ &uart0 { /* uart0 MIO38-39 */
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
status = "disable"; status = "disable";
no-1-8-v; no-1-8-v;
disable-wp; disable-wp;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&gem0 { &gem0 {
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
non-removable; non-removable;
disable-wp; disable-wp;
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; /* FIXME tap delay */ xlnx,mio-bank = <0>; /* FIXME tap delay */
}; };
&uart0 { /* uart0 MIO38-39 */ &uart0 { /* uart0 MIO38-39 */
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
status = "disable"; status = "disable";
no-1-8-v; no-1-8-v;
disable-wp; disable-wp;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&gem0 { &gem0 {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
non-removable; non-removable;
disable-wp; disable-wp;
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
}; };
&uart0 { /* uart0 MIO38-39 */ &uart0 { /* uart0 MIO38-39 */
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
status = "okay"; status = "okay";
no-1-8-v; no-1-8-v;
disable-wp; disable-wp;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&gem0 { &gem0 {
......
...@@ -97,13 +97,13 @@ ...@@ -97,13 +97,13 @@
non-removable; non-removable;
disable-wp; /* We don't have a write-protect detection */ disable-wp; /* We don't have a write-protect detection */
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
}; };
/* SD1 with level shifter */ /* SD1 with level shifter */
&sdhci1 { &sdhci1 {
status = "okay"; status = "okay";
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
disable-wp; /* We don't have a write-protect detection */ disable-wp; /* We don't have a write-protect detection */
bus-width = <4>; bus-width = <4>;
}; };
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
&sdhci0 { &sdhci0 {
status = "okay"; status = "okay";
bus-width = <8>; bus-width = <8>;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
}; };
/* SD1 with level shifter */ /* SD1 with level shifter */
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
* This property should be removed for supporting UHS mode * This property should be removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&uart0 { &uart0 {
......
...@@ -259,13 +259,13 @@ ...@@ -259,13 +259,13 @@
status = "okay"; status = "okay";
no-1-8-v; no-1-8-v;
disable-wp; disable-wp;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
}; };
&sdhci1 { &sdhci1 {
status = "okay"; status = "okay";
bus-width = <0x4>; bus-width = <0x4>;
xlnx,mio_bank = <0>; xlnx,mio-bank = <0>;
non-removable; non-removable;
disable-wp; disable-wp;
cap-power-off-card; cap-power-off-card;
......
...@@ -660,7 +660,7 @@ ...@@ -660,7 +660,7 @@
* removed for supporting UHS mode * removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&serdes { &serdes {
......
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
&sdhci1 { &sdhci1 {
status = "okay"; status = "okay";
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
disable-wp; disable-wp;
}; };
......
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
&sdhci1 { &sdhci1 {
status = "okay"; status = "okay";
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
disable-wp; disable-wp;
}; };
......
...@@ -657,7 +657,7 @@ ...@@ -657,7 +657,7 @@
* This property should be removed for supporting UHS mode * This property should be removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&serdes { &serdes {
......
...@@ -568,7 +568,7 @@ ...@@ -568,7 +568,7 @@
* This property should be removed for supporting UHS mode * This property should be removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&serdes { &serdes {
......
...@@ -80,5 +80,5 @@ ...@@ -80,5 +80,5 @@
* removed for supporting UHS mode * removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
...@@ -245,5 +245,5 @@ ...@@ -245,5 +245,5 @@
* This property should be removed for supporting UHS mode * This property should be removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
...@@ -565,7 +565,7 @@ ...@@ -565,7 +565,7 @@
* This property should be removed for supporting UHS mode * This property should be removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&serdes { &serdes {
......
...@@ -569,7 +569,7 @@ ...@@ -569,7 +569,7 @@
* This property should be removed for supporting UHS mode * This property should be removed for supporting UHS mode
*/ */
no-1-8-v; no-1-8-v;
xlnx,mio_bank = <1>; xlnx,mio-bank = <1>;
}; };
&serdes { &serdes {
......
...@@ -276,7 +276,7 @@ static int arasan_sdhci_ofdata_to_platdata(struct udevice *dev) ...@@ -276,7 +276,7 @@ static int arasan_sdhci_ofdata_to_platdata(struct udevice *dev)
return PTR_ERR(priv->host->ioaddr); return PTR_ERR(priv->host->ioaddr);
priv->deviceid = dev_read_u32_default(dev, "xlnx,device_id", -1); priv->deviceid = dev_read_u32_default(dev, "xlnx,device_id", -1);
priv->bank = dev_read_u32_default(dev, "xlnx,mio_bank", -1); priv->bank = dev_read_u32_default(dev, "xlnx,mio-bank", -1);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册