Deleted Added
sdiff udiff text old ( 279385 ) new ( 295436 )
full compact
1/*
2 * Device Tree Source for AM4372 SoC
3 *
4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13
14#include "skeleton.dtsi"
15
16/ {
17 compatible = "ti,am4372", "ti,am43";
18 interrupt-parent = <&gic>;
19
20
21 aliases {
22 i2c0 = &i2c0;
23 i2c1 = &i2c1;
24 i2c2 = &i2c2;
25 serial0 = &uart0;
26 ethernet0 = &cpsw_emac0;
27 ethernet1 = &cpsw_emac1;
28 };
29
30 cpus {
31 #address-cells = <1>;
32 #size-cells = <0>;
33 cpu: cpu@0 {
34 compatible = "arm,cortex-a9";
35 device_type = "cpu";

--- 7 unchanged lines hidden (view full) ---

43 };
44
45 gic: interrupt-controller@48241000 {
46 compatible = "arm,cortex-a9-gic";
47 interrupt-controller;
48 #interrupt-cells = <3>;
49 reg = <0x48241000 0x1000>,
50 <0x48240100 0x0100>;
51 };
52
53 l2-cache-controller@48242000 {
54 compatible = "arm,pl310-cache";
55 reg = <0x48242000 0x1000>;
56 cache-unified;
57 cache-level = <2>;
58 };
59
60 am43xx_control_module: control_module@4a002000 {
61 compatible = "syscon";
62 reg = <0x44e10000 0x7f4>;
63 };
64
65 am43xx_pinmux: pinmux@44e10800 {
66 compatible = "ti,am437-padconf", "pinctrl-single";
67 reg = <0x44e10800 0x31c>;
68 #address-cells = <1>;
69 #size-cells = <0>;
70 #interrupt-cells = <1>;
71 interrupt-controller;
72 pinctrl-single,register-width = <32>;
73 pinctrl-single,function-mask = <0xffffffff>;
74 };
75
76 ocp {
77 compatible = "ti,am4372-l3-noc", "simple-bus";
78 #address-cells = <1>;
79 #size-cells = <1>;
80 ranges;
81 ti,hwmods = "l3_main";
82 reg = <0x44000000 0x400000
83 0x44800000 0x400000>;
84 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
85 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
86
87 prcm: prcm@44df0000 {
88 compatible = "ti,am4-prcm";
89 reg = <0x44df0000 0x11000>;
90
91 prcm_clocks: clocks {
92 #address-cells = <1>;
93 #size-cells = <0>;
94 };
95
96 prcm_clockdomains: clockdomains {
97 };
98 };
99
100 scrm: scrm@44e10000 {
101 compatible = "ti,am4-scrm";
102 reg = <0x44e10000 0x2000>;
103
104 scrm_clocks: clocks {
105 #address-cells = <1>;
106 #size-cells = <0>;
107 };
108
109 scrm_clockdomains: clockdomains {
110 };
111 };
112
113 edma: edma@49000000 {
114 compatible = "ti,edma3";
115 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
116 reg = <0x49000000 0x10000>,
117 <0x44e10f90 0x10>;
118 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
119 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
120 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
121 #dma-cells = <1>;
122 };
123
124 uart0: serial@44e09000 {
125 compatible = "ti,am4372-uart","ti,omap2-uart";
126 reg = <0x44e09000 0x2000>;
127 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
128 ti,hwmods = "uart1";
129 };
130
131 uart1: serial@48022000 {

--- 143 unchanged lines hidden (view full) ---

275
276 counter32k: counter@44e86000 {
277 compatible = "ti,am4372-counter32k","ti,omap-counter32k";
278 reg = <0x44e86000 0x40>;
279 ti,hwmods = "counter_32k";
280 };
281
282 rtc: rtc@44e3e000 {
283 compatible = "ti,am4372-rtc","ti,da830-rtc";
284 reg = <0x44e3e000 0x1000>;
285 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
286 GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
287 ti,hwmods = "rtc";
288 status = "disabled";
289 };
290
291 wdt: wdt@44e35000 {
292 compatible = "ti,am4372-wdt","ti,omap3-wdt";
293 reg = <0x44e35000 0x1000>;
294 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
295 ti,hwmods = "wd_timer2";

--- 119 unchanged lines hidden (view full) ---

415 };
416
417 mmc1: mmc@48060000 {
418 compatible = "ti,omap4-hsmmc";
419 reg = <0x48060000 0x1000>;
420 ti,hwmods = "mmc1";
421 ti,dual-volt;
422 ti,needs-special-reset;
423 dmas = <&edma 24
424 &edma 25>;
425 dma-names = "tx", "rx";
426 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
427 status = "disabled";
428 };
429
430 mmc2: mmc@481d8000 {
431 compatible = "ti,omap4-hsmmc";
432 reg = <0x481d8000 0x1000>;
433 ti,hwmods = "mmc2";
434 ti,needs-special-reset;
435 dmas = <&edma 2
436 &edma 3>;
437 dma-names = "tx", "rx";
438 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
439 status = "disabled";
440 };
441
442 mmc3: mmc@47810000 {
443 compatible = "ti,omap4-hsmmc";
444 reg = <0x47810000 0x1000>;

--- 49 unchanged lines hidden (view full) ---

494 0x4a101200 0x100>;
495 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
496 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
497 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
498 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
499 #address-cells = <1>;
500 #size-cells = <1>;
501 ti,hwmods = "cpgmac0";
502 clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
503 clock-names = "fck", "cpts";
504 status = "disabled";
505 cpdma_channels = <8>;
506 ale_entries = <1024>;
507 bd_ram_size = <0x2000>;
508 no_bd_ram = <0>;
509 rx_descs = <64>;
510 mac_control = <0x20>;
511 slaves = <2>;
512 active_slave = <0>;
513 cpts_clock_mult = <0x80000000>;
514 cpts_clock_shift = <29>;
515 ranges;
516
517 davinci_mdio: mdio@4a101000 {
518 compatible = "ti,am4372-mdio","ti,davinci_mdio";
519 reg = <0x4a101000 0x100>;
520 #address-cells = <1>;
521 #size-cells = <0>;
522 ti,hwmods = "davinci_mdio";
523 bus_freq = <1000000>;

--- 168 unchanged lines hidden (view full) ---

692 };
693
694 };
695
696 sham: sham@53100000 {
697 compatible = "ti,omap5-sham";
698 ti,hwmods = "sham";
699 reg = <0x53100000 0x300>;
700 dmas = <&edma 36>;
701 dma-names = "rx";
702 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
703 };
704
705 aes: aes@53501000 {
706 compatible = "ti,omap4-aes";
707 ti,hwmods = "aes";
708 reg = <0x53501000 0xa0>;
709 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
710 dmas = <&edma 6
711 &edma 5>;
712 dma-names = "tx", "rx";
713 };
714
715 des: des@53701000 {
716 compatible = "ti,omap4-des";
717 ti,hwmods = "des";
718 reg = <0x53701000 0xa0>;
719 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
720 dmas = <&edma 34
721 &edma 33>;
722 dma-names = "tx", "rx";
723 };
724
725 mcasp0: mcasp@48038000 {
726 compatible = "ti,am33xx-mcasp-audio";
727 ti,hwmods = "mcasp0";
728 reg = <0x48038000 0x2000>,
729 <0x46000000 0x400000>;
730 reg-names = "mpu", "dat";
731 interrupts = <80>, <81>;
732 interrupt-names = "tx", "rx";
733 status = "disabled";
734 dmas = <&edma 8>,
735 <&edma 9>;
736 dma-names = "tx", "rx";
737 };
738
739 mcasp1: mcasp@4803C000 {
740 compatible = "ti,am33xx-mcasp-audio";
741 ti,hwmods = "mcasp1";
742 reg = <0x4803C000 0x2000>,
743 <0x46400000 0x400000>;
744 reg-names = "mpu", "dat";
745 interrupts = <82>, <83>;
746 interrupt-names = "tx", "rx";
747 status = "disabled";
748 dmas = <&edma 10>,
749 <&edma 11>;
750 dma-names = "tx", "rx";
751 };
752
753 elm: elm@48080000 {
754 compatible = "ti,am3352-elm";
755 reg = <0x48080000 0x2000>;
756 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
757 ti,hwmods = "elm";
758 clocks = <&l4ls_gclk>;
759 clock-names = "fck";
760 status = "disabled";
761 };
762
763 gpmc: gpmc@50000000 {
764 compatible = "ti,am3352-gpmc";
765 ti,hwmods = "gpmc";
766 clocks = <&l3s_gclk>;
767 clock-names = "fck";
768 reg = <0x50000000 0x2000>;
769 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
770 gpmc,num-cs = <7>;
771 gpmc,num-waitpins = <2>;
772 #address-cells = <2>;
773 #size-cells = <1>;

--- 8 unchanged lines hidden (view full) ---

782
783 am43xx_control_usb2phy2: control-phy@0x44e10628 {
784 compatible = "ti,control-phy-usb2-am437";
785 reg = <0x44e10628 0x4>;
786 reg-names = "power";
787 };
788
789 ocp2scp0: ocp2scp@483a8000 {
790 compatible = "ti,omap-ocp2scp";
791 #address-cells = <1>;
792 #size-cells = <1>;
793 ranges;
794 ti,hwmods = "ocp2scp0";
795
796 usb2_phy1: phy@483a8000 {
797 compatible = "ti,am437x-usb2";
798 reg = <0x483a8000 0x8000>;
799 ctrl-module = <&am43xx_control_usb2phy1>;
800 clocks = <&usb_phy0_always_on_clk32k>,
801 <&usb_otg_ss0_refclk960m>;
802 clock-names = "wkupclk", "refclk";
803 #phy-cells = <0>;
804 status = "disabled";
805 };
806 };
807
808 ocp2scp1: ocp2scp@483e8000 {
809 compatible = "ti,omap-ocp2scp";
810 #address-cells = <1>;
811 #size-cells = <1>;
812 ranges;
813 ti,hwmods = "ocp2scp1";
814
815 usb2_phy2: phy@483e8000 {
816 compatible = "ti,am437x-usb2";
817 reg = <0x483e8000 0x8000>;

--- 14 unchanged lines hidden (view full) ---

832 #address-cells = <1>;
833 #size-cells = <1>;
834 utmi-mode = <1>;
835 ranges;
836
837 usb1: usb@48390000 {
838 compatible = "synopsys,dwc3";
839 reg = <0x48390000 0x10000>;
840 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
841 phys = <&usb2_phy1>;
842 phy-names = "usb2-phy";
843 maximum-speed = "high-speed";
844 dr_mode = "otg";
845 status = "disabled";
846 snps,dis_u3_susphy_quirk;
847 snps,dis_u2_susphy_quirk;
848 };

--- 7 unchanged lines hidden (view full) ---

856 #address-cells = <1>;
857 #size-cells = <1>;
858 utmi-mode = <1>;
859 ranges;
860
861 usb2: usb@483d0000 {
862 compatible = "synopsys,dwc3";
863 reg = <0x483d0000 0x10000>;
864 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
865 phys = <&usb2_phy2>;
866 phy-names = "usb2-phy";
867 maximum-speed = "high-speed";
868 dr_mode = "otg";
869 status = "disabled";
870 snps,dis_u3_susphy_quirk;
871 snps,dis_u2_susphy_quirk;
872 };
873 };
874
875 qspi: qspi@47900000 {
876 compatible = "ti,am4372-qspi";
877 reg = <0x47900000 0x100>;
878 #address-cells = <1>;
879 #size-cells = <0>;
880 ti,hwmods = "qspi";
881 interrupts = <0 138 0x4>;
882 num-cs = <4>;
883 status = "disabled";
884 };
885
886 hdq: hdq@48347000 {
887 compatible = "ti,am43xx-hdq";
888 reg = <0x48347000 0x1000>;
889 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
890 clocks = <&func_12m_clk>;
891 clock-names = "fck";
892 ti,hwmods = "hdq1w";
893 status = "disabled";
894 };
895

--- 18 unchanged lines hidden (view full) ---

914 };
915
916 rfbi: rfbi@4832a800 {
917 compatible = "ti,omap3-rfbi";
918 reg = <0x4832a800 0x100>;
919 ti,hwmods = "dss_rfbi";
920 clocks = <&disp_clk>;
921 clock-names = "fck";
922 };
923 };
924
925 ocmcram: ocmcram@40300000 {
926 compatible = "mmio-sram";
927 reg = <0x40300000 0x40000>; /* 256k */
928 };
929
930 dcan0: can@481cc000 {
931 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
932 ti,hwmods = "d_can0";
933 clocks = <&dcan0_fck>;
934 clock-names = "fck";
935 reg = <0x481cc000 0x2000>;
936 syscon-raminit = <&am43xx_control_module 0x644 0>;
937 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
938 status = "disabled";
939 };
940
941 dcan1: can@481d0000 {
942 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
943 ti,hwmods = "d_can1";
944 clocks = <&dcan1_fck>;
945 clock-names = "fck";
946 reg = <0x481d0000 0x2000>;
947 syscon-raminit = <&am43xx_control_module 0x644 1>;
948 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
949 status = "disabled";
950 };
951
952 vpfe0: vpfe@48326000 {
953 compatible = "ti,am437x-vpfe";
954 reg = <0x48326000 0x2000>;
955 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;

--- 15 unchanged lines hidden ---