Deleted Added
full compact
16a17
> #include <dt-bindings/clock/at91.h>
53a55,74
> clocks {
> slow_xtal: slow_xtal {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <0>;
> };
>
> main_xtal: main_xtal {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <0>;
> };
>
> adc_op_clk: adc_op_clk{
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <5000000>;
> };
> };
>
80c101
< compatible = "atmel,at91rm9200-pmc";
---
> compatible = "atmel,at91sam9x5-pmc";
81a103,366
> interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> interrupt-controller;
> #address-cells = <1>;
> #size-cells = <0>;
> #interrupt-cells = <1>;
>
> main_rc_osc: main_rc_osc {
> compatible = "atmel,at91sam9x5-clk-main-rc-osc";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MOSCRCS>;
> clock-frequency = <12000000>;
> clock-accuracy = <50000000>;
> };
>
> main_osc: main_osc {
> compatible = "atmel,at91rm9200-clk-main-osc";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MOSCS>;
> clocks = <&main_xtal>;
> };
>
> main: mainck {
> compatible = "atmel,at91sam9x5-clk-main";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MOSCSELS>;
> clocks = <&main_rc_osc>, <&main_osc>;
> };
>
> plla: pllack {
> compatible = "atmel,at91rm9200-clk-pll";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_LOCKA>;
> clocks = <&main>;
> reg = <0>;
> atmel,clk-input-range = <2000000 32000000>;
> #atmel,pll-clk-output-range-cells = <4>;
> atmel,pll-clk-output-ranges = <745000000 800000000 0 0
> 695000000 750000000 1 0
> 645000000 700000000 2 0
> 595000000 650000000 3 0
> 545000000 600000000 0 1
> 495000000 555000000 1 1
> 445000000 500000000 2 1
> 400000000 450000000 3 1>;
> };
>
> plladiv: plladivck {
> compatible = "atmel,at91sam9x5-clk-plldiv";
> #clock-cells = <0>;
> clocks = <&plla>;
> };
>
> utmi: utmick {
> compatible = "atmel,at91sam9x5-clk-utmi";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_LOCKU>;
> clocks = <&main>;
> };
>
> mck: masterck {
> compatible = "atmel,at91sam9x5-clk-master";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
> clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
> atmel,clk-output-range = <0 133333333>;
> atmel,clk-divisors = <1 2 4 3>;
> atmel,master-clk-have-div3-pres;
> };
>
> usb: usbck {
> compatible = "atmel,at91sam9x5-clk-usb";
> #clock-cells = <0>;
> clocks = <&plladiv>, <&utmi>;
> };
>
> prog: progck {
> compatible = "atmel,at91sam9x5-clk-programmable";
> #address-cells = <1>;
> #size-cells = <0>;
> interrupt-parent = <&pmc>;
> clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
>
> prog0: prog0 {
> #clock-cells = <0>;
> reg = <0>;
> interrupts = <AT91_PMC_PCKRDY(0)>;
> };
>
> prog1: prog1 {
> #clock-cells = <0>;
> reg = <1>;
> interrupts = <AT91_PMC_PCKRDY(1)>;
> };
> };
>
> smd: smdclk {
> compatible = "atmel,at91sam9x5-clk-smd";
> #clock-cells = <0>;
> clocks = <&plladiv>, <&utmi>;
> };
>
> systemck {
> compatible = "atmel,at91rm9200-clk-system";
> #address-cells = <1>;
> #size-cells = <0>;
>
> ddrck: ddrck {
> #clock-cells = <0>;
> reg = <2>;
> clocks = <&mck>;
> };
>
> smdck: smdck {
> #clock-cells = <0>;
> reg = <4>;
> clocks = <&smd>;
> };
>
> uhpck: uhpck {
> #clock-cells = <0>;
> reg = <6>;
> clocks = <&usb>;
> };
>
> udpck: udpck {
> #clock-cells = <0>;
> reg = <7>;
> clocks = <&usb>;
> };
>
> pck0: pck0 {
> #clock-cells = <0>;
> reg = <8>;
> clocks = <&prog0>;
> };
>
> pck1: pck1 {
> #clock-cells = <0>;
> reg = <9>;
> clocks = <&prog1>;
> };
> };
>
> periphck {
> compatible = "atmel,at91sam9x5-clk-peripheral";
> #address-cells = <1>;
> #size-cells = <0>;
> clocks = <&mck>;
>
> pioAB_clk: pioAB_clk {
> #clock-cells = <0>;
> reg = <2>;
> };
>
> pioCD_clk: pioCD_clk {
> #clock-cells = <0>;
> reg = <3>;
> };
>
> smd_clk: smd_clk {
> #clock-cells = <0>;
> reg = <4>;
> };
>
> usart0_clk: usart0_clk {
> #clock-cells = <0>;
> reg = <5>;
> };
>
> usart1_clk: usart1_clk {
> #clock-cells = <0>;
> reg = <6>;
> };
>
> usart2_clk: usart2_clk {
> #clock-cells = <0>;
> reg = <7>;
> };
>
> twi0_clk: twi0_clk {
> reg = <9>;
> #clock-cells = <0>;
> };
>
> twi1_clk: twi1_clk {
> #clock-cells = <0>;
> reg = <10>;
> };
>
> twi2_clk: twi2_clk {
> #clock-cells = <0>;
> reg = <11>;
> };
>
> mci0_clk: mci0_clk {
> #clock-cells = <0>;
> reg = <12>;
> };
>
> spi0_clk: spi0_clk {
> #clock-cells = <0>;
> reg = <13>;
> };
>
> spi1_clk: spi1_clk {
> #clock-cells = <0>;
> reg = <14>;
> };
>
> uart0_clk: uart0_clk {
> #clock-cells = <0>;
> reg = <15>;
> };
>
> uart1_clk: uart1_clk {
> #clock-cells = <0>;
> reg = <16>;
> };
>
> tcb0_clk: tcb0_clk {
> #clock-cells = <0>;
> reg = <17>;
> };
>
> pwm_clk: pwm_clk {
> #clock-cells = <0>;
> reg = <18>;
> };
>
> adc_clk: adc_clk {
> #clock-cells = <0>;
> reg = <19>;
> };
>
> dma0_clk: dma0_clk {
> #clock-cells = <0>;
> reg = <20>;
> };
>
> dma1_clk: dma1_clk {
> #clock-cells = <0>;
> reg = <21>;
> };
>
> uhphs_clk: uhphs_clk {
> #clock-cells = <0>;
> reg = <22>;
> };
>
> udphs_clk: udphs_clk {
> #clock-cells = <0>;
> reg = <23>;
> };
>
> mci1_clk: mci1_clk {
> #clock-cells = <0>;
> reg = <26>;
> };
>
> ssc0_clk: ssc0_clk {
> #clock-cells = <0>;
> reg = <28>;
> };
> };
97a383
> clocks = <&mck>;
99a386,409
> sckc@fffffe50 {
> compatible = "atmel,at91sam9x5-sckc";
> reg = <0xfffffe50 0x4>;
>
> slow_osc: slow_osc {
> compatible = "atmel,at91sam9x5-clk-slow-osc";
> #clock-cells = <0>;
> clocks = <&slow_xtal>;
> };
>
> slow_rc_osc: slow_rc_osc {
> compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
> #clock-cells = <0>;
> clock-frequency = <32768>;
> clock-accuracy = <50000000>;
> };
>
> clk32k: slck {
> compatible = "atmel,at91sam9x5-clk-slow";
> #clock-cells = <0>;
> clocks = <&slow_rc_osc>, <&slow_osc>;
> };
> };
>
103a414,415
> clocks = <&tcb0_clk>;
> clock-names = "t0_clk";
109a422,423
> clocks = <&tcb0_clk>;
> clock-names = "t0_clk";
116a431,432
> clocks = <&dma0_clk>;
> clock-names = "dma_clk";
123a440,441
> clocks = <&dma1_clk>;
> clock-names = "dma_clk";
455a774
> clocks = <&pioAB_clk>;
466a786
> clocks = <&pioAB_clk>;
476a797
> clocks = <&pioCD_clk>;
487a809
> clocks = <&pioCD_clk>;
499a822,823
> clocks = <&ssc0_clk>;
> clock-names = "pclk";
509a834,835
> clocks = <&mci0_clk>;
> clock-names = "mci_clk";
521a848,849
> clocks = <&mci1_clk>;
> clock-names = "mci_clk";
532a861,862
> clocks = <&mck>;
> clock-names = "usart";
541a872,873
> clocks = <&usart0_clk>;
> clock-names = "usart";
550a883,884
> clocks = <&usart1_clk>;
> clock-names = "usart";
559a894,895
> clocks = <&usart2_clk>;
> clock-names = "usart";
573a910
> clocks = <&twi0_clk>;
587a925
> clocks = <&twi1_clk>;
601a940
> clocks = <&twi2_clk>;
610a950,951
> clocks = <&uart0_clk>;
> clock-names = "usart";
619a961,962
> clocks = <&uart1_clk>;
> clock-names = "usart";
623a967,968
> #address-cells = <1>;
> #size-cells = <0>;
627c972,975
< atmel,adc-use-external;
---
> clocks = <&adc_clk>,
> <&adc_op_clk>;
> clock-names = "adc_clk", "adc_op_clk";
> atmel,adc-use-external-triggers;
630d977
< atmel,adc-num-channels = <12>;
632,635d978
< atmel,adc-channel-base = <0x50>;
< atmel,adc-drdy-mask = <0x1000000>;
< atmel,adc-status-register = <0x30>;
< atmel,adc-trigger-register = <0xc0>;
640a984
> reg = <0>;
646a991
> reg = <1>;
652a998
> reg = <2>;
658a1005
> reg = <3>;
674a1022,1023
> clocks = <&spi0_clk>;
> clock-names = "spi_clk";
688a1038,1039
> clocks = <&spi1_clk>;
> clock-names = "spi_clk";
698a1050,1051
> clocks = <&usb>, <&udphs_clk>;
> clock-names = "hclk", "pclk";
775a1129
> clocks = <&pwm_clk>;
792a1147
> atmel,nand-has-dma;
805a1161,1162
> clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
> clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
812a1170,1171
> clocks = <&usb>, <&uhphs_clk>, <&uhpck>;
> clock-names = "usb_clk", "ehci_clk", "uhpck";