Skip to content

Commit ad6be7d

Browse files
thierryredingnvswarren
authored andcommitted
ARM: tegra: Add Tegra124 host1x support
The version of host1x on Tegra124 is largely compatible with that on earlier Tegra generations. Some of the registers have moved around or expanded to allow for more capability, so a separate compatible string is still required. Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Stephen Warren <[email protected]>
1 parent 4989b43 commit ad6be7d

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

arch/arm/boot/dts/tegra124.dtsi

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,47 @@
99
compatible = "nvidia,tegra124";
1010
interrupt-parent = <&gic>;
1111

12+
host1x@50000000 {
13+
compatible = "nvidia,tegra124-host1x", "simple-bus";
14+
reg = <0x50000000 0x00034000>;
15+
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
16+
<GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
17+
clocks = <&tegra_car TEGRA124_CLK_HOST1X>;
18+
resets = <&tegra_car 28>;
19+
reset-names = "host1x";
20+
21+
#address-cells = <1>;
22+
#size-cells = <1>;
23+
24+
ranges = <0x54000000 0x54000000 0x01000000>;
25+
26+
dc@54200000 {
27+
compatible = "nvidia,tegra124-dc";
28+
reg = <0x54200000 0x00040000>;
29+
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
30+
clocks = <&tegra_car TEGRA124_CLK_DISP1>,
31+
<&tegra_car TEGRA124_CLK_PLL_P>;
32+
clock-names = "dc", "parent";
33+
resets = <&tegra_car 27>;
34+
reset-names = "dc";
35+
36+
nvidia,head = <0>;
37+
};
38+
39+
dc@54240000 {
40+
compatible = "nvidia,tegra124-dc";
41+
reg = <0x54240000 0x00040000>;
42+
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
43+
clocks = <&tegra_car TEGRA124_CLK_DISP2>,
44+
<&tegra_car TEGRA124_CLK_PLL_P>;
45+
clock-names = "dc", "parent";
46+
resets = <&tegra_car 26>;
47+
reset-names = "dc";
48+
49+
nvidia,head = <1>;
50+
};
51+
};
52+
1253
gic: interrupt-controller@50041000 {
1354
compatible = "arm,cortex-a15-gic";
1455
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)