Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: bcm281xx: Add DT support for SMC handler

- 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>

+19
+14
Documentation/devicetree/bindings/misc/smc.txt
··· 1 + Broadcom Secure Monitor Bounce buffer 2 + ----------------------------------------------------- 3 + This binding defines the location of the bounce buffer 4 + used for non-secure to secure communications. 5 + 6 + Required properties: 7 + - compatible : "bcm,kona-smc" 8 + - reg : Location and size of bounce buffer 9 + 10 + Example: 11 + smc@0x3404c000 { 12 + compatible = "bcm,bcm11351-smc", "bcm,kona-smc"; 13 + reg = <0x3404c000 0x400>; //1 KiB in SRAM 14 + };
+5
arch/arm/boot/dts/bcm11351.dtsi
··· 31 31 <0x3ff00100 0x100>; 32 32 }; 33 33 34 + smc@0x3404c000 { 35 + compatible = "bcm,bcm11351-smc", "bcm,kona-smc"; 36 + reg = <0x3404c000 0x400>; //1 KiB in SRAM 37 + }; 38 + 34 39 uart@3e000000 { 35 40 compatible = "bcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; 36 41 status = "disabled";