Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: ixp4xx: Add CF to GW2358

This adds support for the compact flash card slot on the
Gateworks GW2358 router.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+23
+23
arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358.dts
··· 95 95 fis-index-block = <0xff>; 96 96 }; 97 97 }; 98 + ide@3,0 { 99 + compatible = "intel,ixp4xx-compact-flash"; 100 + /* 101 + * Set up expansion bus config to a really slow timing. 102 + * The CF driver will dynamically reconfigure these timings 103 + * depending on selected PIO mode (0-4). 104 + */ 105 + intel,ixp4xx-eb-t1 = <3>; // 3 cycles extra address phase 106 + intel,ixp4xx-eb-t2 = <3>; // 3 cycles extra setup phase 107 + intel,ixp4xx-eb-t3 = <15>; // 15 cycles extra strobe phase 108 + intel,ixp4xx-eb-t4 = <3>; // 3 cycles extra hold phase 109 + intel,ixp4xx-eb-t5 = <15>; // 15 cycles extra recovery phase 110 + intel,ixp4xx-eb-cycle-type = <0>; // Intel cycle type 111 + intel,ixp4xx-eb-byte-access-on-halfword = <1>; 112 + intel,ixp4xx-eb-mux-address-and-data = <0>; 113 + intel,ixp4xx-eb-ahb-split-transfers = <0>; 114 + intel,ixp4xx-eb-write-enable = <1>; 115 + intel,ixp4xx-eb-byte-access = <1>; 116 + /* First register set is CMD second is CTL */ 117 + reg = <3 0xe00000 0x40000>, <3 0xe40000 0x40000>; 118 + interrupt-parent = <&gpio0>; 119 + interrupts = <12 IRQ_TYPE_EDGE_RISING>; 120 + }; 98 121 }; 99 122 100 123 pci@c0000000 {