.. | .. |
---|
6 | 6 | - interrupts: the 3 (tx rx err) interrupt numbers. The interrupt specifier |
---|
7 | 7 | depends on the interrupt-parent interrupt controller. |
---|
8 | 8 | |
---|
| 9 | +Optional properties: |
---|
| 10 | +- clocks: Should contain frequency clock and gate clock |
---|
| 11 | +- clock-names: Should be "freq" and "asc" |
---|
| 12 | + |
---|
9 | 13 | Example: |
---|
10 | 14 | |
---|
| 15 | +asc0: serial@16600000 { |
---|
| 16 | + compatible = "lantiq,asc"; |
---|
| 17 | + reg = <0x16600000 0x100000>; |
---|
| 18 | + interrupt-parent = <&gic>; |
---|
| 19 | + interrupts = <GIC_SHARED 103 IRQ_TYPE_LEVEL_HIGH>, |
---|
| 20 | + <GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>, |
---|
| 21 | + <GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>; |
---|
| 22 | + clocks = <&cgu CLK_SSX4>, <&cgu GCLK_UART>; |
---|
| 23 | + clock-names = "freq", "asc"; |
---|
| 24 | +}; |
---|
| 25 | + |
---|
11 | 26 | asc1: serial@e100c00 { |
---|
12 | 27 | compatible = "lantiq,asc"; |
---|
13 | 28 | reg = <0xE100C00 0x400>; |
---|