7 Appendix 2
The following table lists the most commonly used SAM9X60 device tree file properties.
Property | Description | Value Type | Example |
---|---|---|---|
assigned-clock | Lists the clocks assigned to the node. | <prop-encoded-array> | assigned-clocks = <&pmc
PMC_TYPE_GCK 26>; |
assigned-clock-rates | Provides the clock rates for the assigned clock. | <u32> | assigned-clock-rates =
<480000000>; |
atmel,external-irqs | Indicates the number of external interrupts supported by the device. | <u32> | atmel,external-irqs =
<31>; |
atmel,fifo-size | Specifies the size of the FIFO buffer. | <u32> | atmel,fifo-size =
<16>; |
atmel,max-sample-rate-hz | Defines the maximum sampling rate of ADC. | <u32> | atmel,max-sample-rate-hz =
<20000000>; |
atmel,min-sample- rate-hz | Defines the minimum sampling rate of ADC. | <u32> | atmel,min-sample-rate-hz =
<200000>; |
atmel,mux-mask | Defines the mux mask for GPIO. | <u32> |
|
atmel,pmc | Identifies the Power Management Controller (PMC) node. | <prop-encoded-array> | atmel,pmc =
<&pmc>; |
atmel,smc | Specifies the Static Memory Controller (SMC) node. | <prop-encoded-array> | atmel,smc =
<&smc>; |
atmel,startup-time-ms | Specifies the start-up time requested for ADC. | <u32> | atmel,startup-time-ms =
<4>; |
atmel,trigger-edge-type | Specifies the trigger edge type for ADC. | <string> | atmel,trigger-edge-type =
<IRQ_TYPE_EDGE_RISING>; |
atmel,usb-dma-tx | Indicates the DMA used for Transmit operations. | <empty> | atmel,use-dma-tx; |
atmel,usb-dma-rx | Indicates the DMA used for Receive operations. | <empty> | atmel,use-dma-rx; |
atmel,usart-mode | Specifies the USART mode. | <string> | atmel,usart-mode =
<AT91_USART_MODE_SERIAL>; |
atmel,wakeup-rtc-timer | Indicates whether to wake up the system from Sleep mode upon RTC (Real-Time Clock) timer expiration. | <empty> | atmel,wakeup-rtc-timer; |
atmel,akeup-rtt-timer | Indicates whether to wake up the system from Sleep mode upon RTT (Real-Time Timer) expiration. | <empty> | atmel,wakeup-rtt-timer; |
clocks | Lists the clocks used by the nodes/device. | <prop-encoded-array> | clocks = <&pmc
PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK
26>; |
clock-names | Specifies the names of the clocks used by the device. | <stringlist> | clock-names = "hclock",
"multclk"; |
compatible | Specifies the compatible platform architecture for the device. | <stringlist> | compatible =
"microchip,sam9x60"; |
device_type | Specifies the type of device. | <string> | device_type =
"memory"; |
ecc-engine | Identifies the ECC engine node. | <prop-encoded-array> | ecc-engine =
<&pmecc>; |
interrupts | – | <prop-encoded-array> | interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>; |
interrupt-parent | Specifies the interrupt parent node for the device. |
| interrupt-parent =
<&aic>; |
interrupt-extended | Lists the interrupts generated by a device. |
| – |
#interrupt-cells | – | <u32> | #interrupt-cells =
<3>; |
Interrupt-controller | Defines the node as an interrupt controller node. | <empty> | interrupt-controller; |
model | Identifies the model name of the device. | <string> | model = "Microchip SAM9X60
SoC"; |
microchip,sfr | Specifies the Special Function Register node. | <prop-encoded-array> | microchip,sfr =
<&sfr>; |
ranges | Specifies the address range mapping between parent and child nodes. | <prop-encoded-array> | ranges = <0xfffff400
0xfffff400 0x800>; |
reg | Details the register address and size of the device. | <prop-encoded-array> | reg = <0xfffff400
0x200>; |
status | Indicates the status of the device. | <string> | status =
"disabled"; |
#address-cells | Defines the number of cells used to represent an address. | <u32> | #address-cells =
<1>; |
#gpio-cells | Specifies the number of cells used to represent a GPIO pin. | <u32> | #gpio-cells =
<2>; |
#gpio-lines | Indicates the number of GPIO lines available. | <u32> | #gpio-lines =
<26>; |
#io-channel-cells | Defines the number of cells to represent an IO channel. | <u32> | #io-channel-cells =
<1>; |
#pwm-cells | Defines the number of cells used to represent a PWM channel. | <u32> | #pwm-cells =
<3>; |
#size-cells | Defines the number of cells to represent a size. | <u32> | #size-cells =
<0>; |