mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-12 03:26:26 +00:00
ARC: vdk: Fix support of UIO
MotherBoard section has its "ranges" set to 0xE000_0000-0xF000_0000. But UIO node maps 4 different areas in different memory locations and all outside MB's ranges. That obviously breaks UIO mappings in runtime. Cc: Ruud Derwig <rderwig@synopsys.com> Cc: stable@vger.kernel.org Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
814a585038
commit
ae9955aeb8
1 changed files with 13 additions and 7 deletions
|
@ -112,13 +112,19 @@ mmc@0x15000 {
|
||||||
interrupts = <7>;
|
interrupts = <7>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
/* Embedded Vision subsystem UIO mappings; only relevant for EV VDK */
|
/*
|
||||||
uio_ev: uio@0xD0000000 {
|
* Embedded Vision subsystem UIO mappings; only relevant for EV VDK
|
||||||
compatible = "generic-uio";
|
*
|
||||||
reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>;
|
* This node is intentionally put outside of MB above becase
|
||||||
reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem";
|
* it maps areas outside of MB's 0xEz-0xFz.
|
||||||
interrupts = <23>;
|
*/
|
||||||
};
|
uio_ev: uio@0xD0000000 {
|
||||||
|
compatible = "generic-uio";
|
||||||
|
reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>;
|
||||||
|
reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem";
|
||||||
|
interrupt-parent = <&mb_intc>;
|
||||||
|
interrupts = <23>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue