tegra210b01: use bpmp for emc
Make use of the existing tegra186-emc driver to handle emc clocking and scaling via BPMP API instead of in kernel. Downstream uses tables from emc and overrides the clock.
This commit is contained in:
@@ -41,6 +41,25 @@
|
||||
/delete-property/ pinctrl-names;
|
||||
};
|
||||
|
||||
mc: memory-controller@70019000 {
|
||||
emc: external-memory-controller@7001b000 {
|
||||
compatible = "nvidia,tegra210b01-emc";
|
||||
reg = <0x0 0x7001b000 0x0 0x1000>,
|
||||
<0x0 0x7001e000 0x0 0x1000>,
|
||||
<0x0 0x7001f000 0x0 0x1000>;
|
||||
clocks = <&bpmp 0>;
|
||||
clock-names = "emc";
|
||||
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
#interconnect-cells = <0>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
nvidia,bpmp = <&bpmp>;
|
||||
};
|
||||
};
|
||||
|
||||
/delete-node/ external-memory-controller@7001b000;
|
||||
|
||||
mmc@700b0000 {
|
||||
nvidia,default-tap = <0xb>;
|
||||
nvidia,default-trim = <0xe>;
|
||||
@@ -74,17 +93,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
external-memory-controller@7001b000 {
|
||||
compatible = "nvidia,tegra210b01-emc";
|
||||
|
||||
clocks = <&bpmp 0>;
|
||||
clock-names = "emc";
|
||||
|
||||
nvidia,bpmp = <&bpmp>;
|
||||
/delete-property/ operating-points-v2;
|
||||
};
|
||||
|
||||
bpmp@70016000 {
|
||||
bpmp: bpmp@70016000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user