18c2ecf20Sopenharmony_ciBroadcom BCM2835 auxiliary peripheral support 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis binding uses the common clock binding: 48c2ecf20Sopenharmony_ci Documentation/devicetree/bindings/clock/clock-bindings.txt 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciThe auxiliary peripherals (UART, SPI1, and SPI2) have a small register 78c2ecf20Sopenharmony_ciarea controlling clock gating to the peripherals, and providing an IRQ 88c2ecf20Sopenharmony_cistatus register. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciRequired properties: 118c2ecf20Sopenharmony_ci- compatible: Should be "brcm,bcm2835-aux" 128c2ecf20Sopenharmony_ci- #clock-cells: Should be <1>. The permitted clock-specifier values can be 138c2ecf20Sopenharmony_ci found in include/dt-bindings/clock/bcm2835-aux.h 148c2ecf20Sopenharmony_ci- reg: Specifies base physical address and size of the registers 158c2ecf20Sopenharmony_ci- clocks: The parent clock phandle 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciExample: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci clocks: cprman@7e101000 { 208c2ecf20Sopenharmony_ci compatible = "brcm,bcm2835-cprman"; 218c2ecf20Sopenharmony_ci #clock-cells = <1>; 228c2ecf20Sopenharmony_ci reg = <0x7e101000 0x2000>; 238c2ecf20Sopenharmony_ci clocks = <&clk_osc>; 248c2ecf20Sopenharmony_ci }; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci aux: aux@7e215004 { 278c2ecf20Sopenharmony_ci compatible = "brcm,bcm2835-aux"; 288c2ecf20Sopenharmony_ci #clock-cells = <1>; 298c2ecf20Sopenharmony_ci reg = <0x7e215000 0x8>; 308c2ecf20Sopenharmony_ci clocks = <&clocks BCM2835_CLOCK_VPU>; 318c2ecf20Sopenharmony_ci }; 32