mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
355be915ed
Update the power-domain-cells to 2 and add the permissions to each node. Mark the following nodes accessed by r5 as shared: - DDR node - main uart 0 Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
196 lines
3.3 KiB
Text
196 lines
3.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
*/
|
|
|
|
/ {
|
|
memorycontroller: memorycontroller@0298e000 {
|
|
compatible = "ti,am654-ddrss";
|
|
reg = <0x0 0x0298e000 0x0 0x200>,
|
|
<0x0 0x02980000 0x0 0x4000>,
|
|
<0x0 0x02988000 0x0 0x2000>;
|
|
reg-names = "ss", "ctl", "phy";
|
|
clocks = <&k3_clks 20 0>;
|
|
power-domains = <&k3_pds 20 TI_SCI_PD_SHARED>,
|
|
<&k3_pds 244 TI_SCI_PD_SHARED>;
|
|
assigned-clocks = <&k3_clks 20 1>;
|
|
assigned-clock-rates = <DDR_PLL_FREQUENCY>;
|
|
u-boot,dm-spl;
|
|
|
|
ti,ctl-reg = <
|
|
DDRCTL_DFIMISC
|
|
DDRCTL_DFITMG0
|
|
DDRCTL_DFITMG1
|
|
DDRCTL_DFITMG2
|
|
DDRCTL_INIT0
|
|
DDRCTL_INIT1
|
|
DDRCTL_INIT3
|
|
DDRCTL_INIT4
|
|
DDRCTL_INIT5
|
|
DDRCTL_INIT6
|
|
DDRCTL_INIT7
|
|
DDRCTL_MSTR
|
|
DDRCTL_ODTCFG
|
|
DDRCTL_ODTMAP
|
|
DDRCTL_RANKCTL
|
|
DDRCTL_RFSHCTL0
|
|
DDRCTL_RFSHTMG
|
|
DDRCTL_ZQCTL0
|
|
DDRCTL_ZQCTL1
|
|
>;
|
|
|
|
ti,ctl-crc = <
|
|
DDRCTL_CRCPARCTL0
|
|
DDRCTL_CRCPARCTL1
|
|
DDRCTL_CRCPARCTL2
|
|
>;
|
|
|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