0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * DTS file for all SPEAr1340 SoCs
0004 *
0005 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
0006 */
0007
0008 /include/ "spear13xx.dtsi"
0009
0010 / {
0011 compatible = "st,spear1340";
0012
0013 ahb {
0014
0015 spics: spics@e0700000{
0016 compatible = "st,spear-spics-gpio";
0017 reg = <0xe0700000 0x1000>;
0018 st-spics,peripcfg-reg = <0x42c>;
0019 st-spics,sw-enable-bit = <21>;
0020 st-spics,cs-value-bit = <20>;
0021 st-spics,cs-enable-mask = <3>;
0022 st-spics,cs-enable-shift = <18>;
0023 gpio-controller;
0024 #gpio-cells = <2>;
0025 status = "disabled";
0026 };
0027
0028 miphy0: miphy@eb800000 {
0029 compatible = "st,spear1340-miphy";
0030 reg = <0xeb800000 0x4000>;
0031 misc = <&misc>;
0032 #phy-cells = <1>;
0033 status = "disabled";
0034 };
0035
0036 ahci0: ahci@b1000000 {
0037 compatible = "snps,spear-ahci";
0038 reg = <0xb1000000 0x10000>;
0039 interrupts = <0 72 0x4>;
0040 phys = <&miphy0 0>;
0041 phy-names = "sata-phy";
0042 status = "disabled";
0043 };
0044
0045 pcie0: pcie@b1000000 {
0046 compatible = "st,spear1340-pcie", "snps,dw-pcie";
0047 reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
0048 reg-names = "dbi", "config";
0049 interrupts = <0 68 0x4>;
0050 num-lanes = <1>;
0051 phys = <&miphy0 1>;
0052 phy-names = "pcie-phy";
0053 #address-cells = <3>;
0054 #size-cells = <2>;
0055 device_type = "pci";
0056 ranges = <0x81000000 0 0 0x80020000 0 0x00010000 /* downstream I/O */
0057 0x82000000 0 0x80030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
0058 bus-range = <0x00 0xff>;
0059 status = "disabled";
0060 };
0061
0062 i2s-play@b2400000 {
0063 compatible = "snps,designware-i2s";
0064 reg = <0xb2400000 0x10000>;
0065 interrupt-names = "play_irq";
0066 interrupts = <0 98 0x4
0067 0 99 0x4>;
0068 play;
0069 channel = <8>;
0070 status = "disabled";
0071 };
0072
0073 i2s-rec@b2000000 {
0074 compatible = "snps,designware-i2s";
0075 reg = <0xb2000000 0x10000>;
0076 interrupt-names = "record_irq";
0077 interrupts = <0 100 0x4
0078 0 101 0x4>;
0079 record;
0080 channel = <8>;
0081 status = "disabled";
0082 };
0083
0084 pinmux: pinmux@e0700000 {
0085 compatible = "st,spear1340-pinmux";
0086 reg = <0xe0700000 0x1000>;
0087 #gpio-range-cells = <3>;
0088 };
0089
0090 pwm: pwm@e0180000 {
0091 compatible = "st,spear13xx-pwm";
0092 reg = <0xe0180000 0x1000>;
0093 #pwm-cells = <2>;
0094 status = "disabled";
0095 };
0096
0097 spdif-in@d0100000 {
0098 compatible = "st,spdif-in";
0099 reg = < 0xd0100000 0x20000
0100 0xd0110000 0x10000 >;
0101 interrupts = <0 84 0x4>;
0102 status = "disabled";
0103 };
0104
0105 spdif-out@d0000000 {
0106 compatible = "st,spdif-out";
0107 reg = <0xd0000000 0x20000>;
0108 interrupts = <0 85 0x4>;
0109 status = "disabled";
0110 };
0111
0112 spi1: spi@5d400000 {
0113 compatible = "arm,pl022", "arm,primecell";
0114 reg = <0x5d400000 0x1000>;
0115 #address-cells = <1>;
0116 #size-cells = <0>;
0117 interrupts = <0 99 0x4>;
0118 status = "disabled";
0119 };
0120
0121 apb {
0122 i2c1: i2c@b4000000 {
0123 #address-cells = <1>;
0124 #size-cells = <0>;
0125 compatible = "snps,designware-i2c";
0126 reg = <0xb4000000 0x1000>;
0127 interrupts = <0 104 0x4>;
0128 write-16bit;
0129 status = "disabled";
0130 };
0131
0132 serial@b4100000 {
0133 compatible = "arm,pl011", "arm,primecell";
0134 reg = <0xb4100000 0x1000>;
0135 interrupts = <0 105 0x4>;
0136 status = "disabled";
0137 dmas = <&dwdma0 13 0 1>,
0138 <&dwdma0 12 1 0>;
0139 dma-names = "rx", "tx";
0140 };
0141
0142 thermal@e07008c4 {
0143 st,thermal-flags = <0x2a00>;
0144 };
0145
0146 gpiopinctrl: gpio@e2800000 {
0147 compatible = "st,spear-plgpio";
0148 reg = <0xe2800000 0x1000>;
0149 interrupts = <0 107 0x4>;
0150 #interrupt-cells = <1>;
0151 interrupt-controller;
0152 gpio-controller;
0153 #gpio-cells = <2>;
0154 gpio-ranges = <&pinmux 0 0 252>;
0155 status = "disabled";
0156
0157 st-plgpio,ngpio = <250>;
0158 st-plgpio,wdata-reg = <0x40>;
0159 st-plgpio,dir-reg = <0x00>;
0160 st-plgpio,ie-reg = <0x80>;
0161 st-plgpio,rdata-reg = <0x20>;
0162 st-plgpio,mis-reg = <0xa0>;
0163 st-plgpio,eit-reg = <0x60>;
0164 };
0165 };
0166 };
0167 };