Skip to content

Commit

Permalink
ARM: bcm281xx: Add DT support for SMC handler
Browse files Browse the repository at this point in the history
- Adds devicetree binding and documentation for the smc handler

Updates from V1:
- Created this separate patch for the DT portion
- Added SoC compatible to smc binding

Signed-off-by: Christian Daudt <csd@broadcom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Christian Daudt committed Apr 9, 2013
1 parent b8eb35f commit 7f6c62e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/misc/smc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Broadcom Secure Monitor Bounce buffer
-----------------------------------------------------
This binding defines the location of the bounce buffer
used for non-secure to secure communications.

Required properties:
- compatible : "bcm,kona-smc"
- reg : Location and size of bounce buffer

Example:
smc@0x3404c000 {
compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
reg = <0x3404c000 0x400>; //1 KiB in SRAM
};
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/bcm11351.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<0x3ff00100 0x100>;
};

smc@0x3404c000 {
compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
reg = <0x3404c000 0x400>; //1 KiB in SRAM
};

uart@3e000000 {
compatible = "bcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
status = "disabled";
Expand Down

0 comments on commit 7f6c62e

Please sign in to comment.