Skip to content

Commit 5fe60d3

Browse files
pcercueitsbogend
authored andcommitted
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: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 34d4b67 commit 5fe60d3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/mips/boot/dts/ingenic/ci20.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
#address-cells = <1>;
357357
#size-cells = <0>;
358358

359-
ingenic,bch-controller = <&bch>;
359+
ecc-engine = <&bch>;
360360

361361
ingenic,nemc-tAS = <10>;
362362
ingenic,nemc-tAH = <5>;
@@ -422,8 +422,8 @@
422422
pinctrl-names = "default";
423423
pinctrl-0 = <&pins_nemc_cs6>;
424424

425-
reg = <6 0 1 /* addr */
426-
6 2 1>; /* data */
425+
reg = <6 0 1>, /* addr */
426+
<6 2 1>; /* data */
427427

428428
ingenic,nemc-tAS = <15>;
429429
ingenic,nemc-tAH = <10>;
@@ -435,7 +435,7 @@
435435
vcc-supply = <&eth0_power>;
436436

437437
interrupt-parent = <&gpe>;
438-
interrupts = <19 4>;
438+
interrupts = <19 IRQ_TYPE_EDGE_RISING>;
439439

440440
nvmem-cells = <&eth0_addr>;
441441
nvmem-cell-names = "mac-address";

0 commit comments

Comments
 (0)