Add correct range parameter in XLP DTS
r239274 added support for ranges. Update XLP DTS to provide the correct range parameter for the XLP SoC bus. Also fix bus_space_map method for XLP bus space. Submitted by: Sreekanth M. <sreekanth.molagavalli@broadcom.com>
This commit is contained in:
parent
9653e55f6a
commit
8099aeffc3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239487
@ -44,7 +44,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "simple-bus";
|
||||
ranges = <0x0>;
|
||||
ranges = <0x0 0x18000000 0x04000000>;
|
||||
bus-frequency = <0>;
|
||||
|
||||
serial0: serial@30100 {
|
||||
|
@ -366,7 +366,7 @@ rmi_bus_space_map(void *t __unused, bus_addr_t addr,
|
||||
bus_space_handle_t *bshp)
|
||||
{
|
||||
|
||||
*bshp = addr;
|
||||
*bshp = MIPS_PHYS_TO_DIRECT_UNCACHED(addr);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user