7 Appendix 2

The following table lists the most commonly used SAM9X60 device tree file properties.

PropertyDescriptionValue TypeExample
assigned-clockLists the clocks assigned to the node.<prop-encoded-array>assigned-clocks = <&pmc PMC_TYPE_GCK 26>;
assigned-clock-ratesProvides the clock rates for the assigned clock.<u32>assigned-clock-rates = <480000000>;
atmel,external-irqsIndicates the number of external interrupts supported by the device.<u32>atmel,external-irqs = <31>;
atmel,fifo-sizeSpecifies the size of the FIFO buffer.<u32>atmel,fifo-size = <16>;
atmel,max-sample-rate-hzDefines the maximum sampling rate of ADC.<u32>atmel,max-sample-rate-hz = <20000000>;
atmel,min-sample- rate-hzDefines the minimum sampling rate of ADC.<u32>atmel,min-sample-rate-hz = <200000>;
atmel,mux-maskDefines the mux mask for GPIO.<u32>

atmel,mux-mask = <

/* A B C */

0xffffffff 0xffe03fff 0xef00019d /* pioA */

0x03ffffff 0x02fc7e7f 0x00780000 /* pioB */

0xffffffff 0xffffffff 0xf83fffff /* pioC */

0x003fffff 0x003f8000 0x00000000 /* pioD */

>;

atmel,pmcIdentifies the Power Management Controller (PMC) node.<prop-encoded-array>atmel,pmc = <&pmc>;
atmel,smcSpecifies the Static Memory Controller (SMC) node.<prop-encoded-array>atmel,smc = <&smc>;
atmel,startup-time-msSpecifies the start-up time requested for ADC.<u32>atmel,startup-time-ms = <4>;
atmel,trigger-edge-typeSpecifies the trigger edge type for ADC.<string>atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
atmel,usb-dma-txIndicates the DMA used for Transmit operations.<empty>atmel,use-dma-tx;
atmel,usb-dma-rxIndicates the DMA used for Receive operations.<empty>atmel,use-dma-rx;
atmel,usart-modeSpecifies the USART mode.<string>atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
atmel,wakeup-rtc-timerIndicates whether to wake up the system from Sleep mode upon RTC (Real-Time Clock) timer expiration.<empty>atmel,wakeup-rtc-timer;
atmel,akeup-rtt-timerIndicates whether to wake up the system from Sleep mode upon RTT (Real-Time Timer) expiration.<empty>atmel,wakeup-rtt-timer;
clocksLists the clocks used by the nodes/device.<prop-encoded-array>clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK 26>;
clock-namesSpecifies the names of the clocks used by the device.<stringlist>clock-names = "hclock", "multclk";
compatibleSpecifies the compatible platform architecture for the device.<stringlist>compatible = "microchip,sam9x60";
device_typeSpecifies the type of device.<string>device_type = "memory";
ecc-engineIdentifies 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.

<phandle>

interrupt-parent = <&aic>;
interrupt-extendedLists the interrupts generated by a device.

<phandle>

<prop-encoded-array>

#interrupt-cells<u32>#interrupt-cells = <3>;
Interrupt-controllerDefines the node as an interrupt controller node.<empty>interrupt-controller;
modelIdentifies the model name of the device.<string>model = "Microchip SAM9X60 SoC";
microchip,sfrSpecifies the Special Function Register node.<prop-encoded-array>microchip,sfr = <&sfr>;
rangesSpecifies the address range mapping between parent and child nodes.<prop-encoded-array>ranges = <0xfffff400 0xfffff400 0x800>;
regDetails the register address and size of the device.<prop-encoded-array>reg = <0xfffff400 0x200>;
statusIndicates the status of the device.<string>status = "disabled";
#address-cellsDefines the number of cells used to represent an address.<u32>#address-cells = <1>;
#gpio-cellsSpecifies the number of cells used to represent a GPIO pin.<u32>#gpio-cells = <2>;
#gpio-linesIndicates the number of GPIO lines available.<u32>#gpio-lines = <26>;
#io-channel-cellsDefines the number of cells to represent an IO channel.<u32>#io-channel-cells = <1>;
#pwm-cellsDefines the number of cells used to represent a PWM channel.<u32>#pwm-cells = <3>;
#size-cellsDefines the number of cells to represent a size.<u32>#size-cells = <0>;