Skip to content

Commit

Permalink
ARM: dts: Add support for 2712 axi performance monitors
Browse files Browse the repository at this point in the history
Also give a unique compatible string to 2711 to allow for
driver differences.
  • Loading branch information
popcornmix committed Feb 23, 2024
1 parent 5ebda3c commit 6036a96
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@ i2c_vc: &i2c0 {};
pinctrl-names = "default";
};

&axiperf {
compatible = "brcm,bcm2711-axiperf";
};

/delete-node/ &v3d;

/ {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
/ {
__overrides__ {
arm_freq;
axiperf = <&axiperf>,"status";
};
};

Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/broadcom/bcm2712.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@
status = "disabled";
};

axiperf: axiperf {
compatible = "brcm,bcm2712-axiperf";
reg = <0x7c012800 0x100>,
<0x7e000000 0x100>;
firmware = <&firmware>;
status = "disabled";
};

mailbox: mailbox@7c013880 {
compatible = "brcm,bcm2835-mbox";
reg = <0x7c013880 0x40>;
Expand Down

0 comments on commit 6036a96

Please sign in to comment.