Commit 5fe60d3b authored by Paul Cercueil's avatar Paul Cercueil Committed by Thomas Bogendoerfer

MIPS: DTS: CI20: Misc. cleanups

- Use the standard "ecc-engine" property instead of the custom
"ingenic,bch-controller" to get a handle to the BCH controller.

- Respect cell sizes in the Ethernet controller node.

- Use proper macro for interrupt type instead of hardcoding magic
  values.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 34d4b67e
...@@ -356,7 +356,7 @@ nandc: nand-controller@1 { ...@@ -356,7 +356,7 @@ nandc: nand-controller@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
ingenic,bch-controller = <&bch>; ecc-engine = <&bch>;
ingenic,nemc-tAS = <10>; ingenic,nemc-tAS = <10>;
ingenic,nemc-tAH = <5>; ingenic,nemc-tAH = <5>;
...@@ -422,8 +422,8 @@ dm9000@6 { ...@@ -422,8 +422,8 @@ dm9000@6 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pins_nemc_cs6>; pinctrl-0 = <&pins_nemc_cs6>;
reg = <6 0 1 /* addr */ reg = <6 0 1>, /* addr */
6 2 1>; /* data */ <6 2 1>; /* data */
ingenic,nemc-tAS = <15>; ingenic,nemc-tAS = <15>;
ingenic,nemc-tAH = <10>; ingenic,nemc-tAH = <10>;
...@@ -435,7 +435,7 @@ dm9000@6 { ...@@ -435,7 +435,7 @@ dm9000@6 {
vcc-supply = <&eth0_power>; vcc-supply = <&eth0_power>;
interrupt-parent = <&gpe>; interrupt-parent = <&gpe>;
interrupts = <19 4>; interrupts = <19 IRQ_TYPE_EDGE_RISING>;
nvmem-cells = <&eth0_addr>; nvmem-cells = <&eth0_addr>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment