Eric Anholt | 9f69786 | 2015-12-15 15:35:57 -0800 | [diff] [blame] | 1 | Broadcom BCM2835 auxiliary peripheral support |
| 2 | |
| 3 | This binding uses the common clock binding: |
| 4 | Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 5 | |
| 6 | The auxiliary peripherals (UART, SPI1, and SPI2) have a small register |
| 7 | area controlling clock gating to the peripherals, and providing an IRQ |
| 8 | status register. |
| 9 | |
| 10 | Required properties: |
| 11 | - compatible: Should be "brcm,bcm2835-aux" |
| 12 | - #clock-cells: Should be <1>. The permitted clock-specifier values can be |
| 13 | found in include/dt-bindings/clock/bcm2835-aux.h |
| 14 | - reg: Specifies base physical address and size of the registers |
| 15 | - clocks: The parent clock phandle |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | clocks: cprman@7e101000 { |
| 20 | compatible = "brcm,bcm2835-cprman"; |
| 21 | #clock-cells = <1>; |
| 22 | reg = <0x7e101000 0x2000>; |
| 23 | clocks = <&clk_osc>; |
| 24 | }; |
| 25 | |
| 26 | aux: aux@0x7e215004 { |
| 27 | compatible = "brcm,bcm2835-aux"; |
| 28 | #clock-cells = <1>; |
| 29 | reg = <0x7e215000 0x8>; |
| 30 | clocks = <&clocks BCM2835_CLOCK_VPU>; |
| 31 | }; |