Merge tag 'sirf-dts-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/baohua...
authorOlof Johansson <olof@lixom.net>
Tue, 11 Aug 2015 13:10:01 +0000 (15:10 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Aug 2015 13:10:01 +0000 (15:10 +0200)
ARM: sirf: dts update for 4.3

some missed dt nodes or props for sirf dts for 4.3.
Among them:
- G2D
- PWM
- JPEG
- Multimedia
- PMU(performance monitor unit)
- GMAC
- SDR(software digital radio) and its DMA
- pinmux for NAND
- GPIO key

* tag 'sirf-dts-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/baohua/linux:
  ARM: dts: atlas7: add a GPIO key for rearview button
  ARM: dts: atlas7: put pinctl property to get pinmux for NAND
  ARM: dts: atlas7: add software digital radio nodes and its DMA channels
  ARM: dts: atlas7: add lost PWM node
  ARM: dts: atlas7: add lost G2D node
  ARM: dts: atlas7: add multimedia codec node
  ARM: dts: atlas7: add alias name for spi device
  ARM: dts: atlas7: add lost gmac node
  ARM: dts: atlas7: add performance monitor unit node
  ARM: dts: atlas7: add lost jpeg node

Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/atlas7-evb.dts
arch/arm/boot/dts/atlas7.dtsi

index 49cf59a9557263d4f6b5a823d262544eee574807..1e9cd1a8508e17c2665a4154b124f0d89a32ae11 100644 (file)
@@ -10,6 +10,9 @@
 
 /include/ "atlas7.dtsi"
 
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        model = "CSR SiRFatlas7 Evaluation Board";
        compatible = "sirf,atlas7-cb", "sirf,atlas7";
                                };
                        };
                };
+
+               gpio_keys {
+                       compatible = "gpio-keys";
+                       status = "okay";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       rearview_key {
+                               label = "rearview key";
+                               linux,code = <KEY_CAMERA>;
+                               gpios = <&gpio_1 3 GPIO_ACTIVE_LOW>;
+                               debounce_interval = <100>;
+                       };
+               };
+
        };
 };
index 3e21311f9514a65dac7ec6f8de7ff9cc42bac13a..83449b33de6b32daccf190a6dc9960ed0f8799cb 100644 (file)
                serial5 = &uart5;
                serial6 = &uart6;
                serial9 = &usp2;
+               spi1 = &spi1;
+               spi2 = &usp1;
+               spi3 = &usp2;
+               spi4 = &usp3;
        };
        cpus {
                #address-cells = <1>;
                };
        };
 
+       arm-pmu {
+               compatible = "arm,cortex-a7-pmu";
+               interrupts = <0 29 4>, <0 82 4>;
+       };
+
        noc {
                compatible = "simple-bus";
                #address-cells = <1>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x18641000 0x18641000 0x3000>,
-                                        <0x18620000 0x18620000 0x1000>;
+                                        <0x18620000 0x18620000 0x1000>,
+                                       <0x18630000 0x18630000 0x10000>;
 
                        cgum@18641000 {
                                compatible = "sirf,nocfw-cgum";
                                #clock-cells = <1>;
                                #reset-cells = <1>;
                        };
+                       pwm: pwm@18630000 {
+                               compatible = "sirf,prima2-pwm";
+                               #pwm-cells = <2>;
+                               reg = <0x18630000 0x10000>;
+                               clocks = <&car 138>, <&car 139>, <&car 237>,
+                                       <&car 240>,  <&car 140>, <&car 246>;
+                               clock-names = "pwmc", "sigsrc0", "sigsrc1",
+                                       "sigsrc2", "sigsrc3", "sigsrc4";
+                       };
                };
 
                gnssm {
                                <0x18040000 0x18040000 0x1000>,
                                <0x18050000 0x18050000 0x1000>,
                                <0x18060000 0x18060000 0x1000>,
+                               <0x180b0000 0x180b0000 0x4000>,
                                <0x18100000 0x18100000 0x3000>,
                                <0x18250000 0x18250000 0x10000>,
                                <0x18200000 0x18200000 0x1000>;
                                dma-names = "rx", "tx";
                                status = "disabled";
                        };
+                       gmac: eth@180b0000 {
+                               compatible = "snps, dwc-eth-qos";
+                               reg = <0x180b0000 0x4000>;
+                               interrupts = <0 59 0>, <0 70 0>;
+                               interrupt-names = "macirq", "macpmt";
+                               clocks = <&car 39>, <&car 45>,
+                                      <&car 86>, <&car 87>;
+                               clock-names = "gnssm_rgmii", "gnssm_gmac",
+                                       "rgmii", "gmac";
+                               local-mac-address = [00 00 00 00 00 00];
+                               phy-mode = "rgmii";
+                       };
                        dspub@18250000 {
                                compatible = "dx,cc44p";
                                reg = <0x18250000 0x10000>;
                        compatible = "arteris, flexnoc", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x13000000 0x13000000 0x3000>;
+                       ranges = <0x13000000 0x13000000 0x3000>,
+                               <0x13010000 0x13010000 0x1400>,
+                               <0x13010800 0x13010800 0x100>,
+                               <0x13011000 0x13011000 0x100>;
                        gpum@0x13000000 {
                                compatible = "sirf,nocfw-gpum";
                                reg = <0x13000000 0x3000>;
                        };
+                       dmacsdrr: dma-controller@13010800 {
+                               cell-index = <5>;
+                               compatible = "sirf,atlas7-dmac-v2";
+                               reg = <0x13010800 0x100>;
+                               interrupts = <0 8 0>;
+                               clocks = <&car 127>;
+                               #dma-cells = <1>;
+                               #dma-channels = <1>;
+                       };
+                       dmacsdrw: dma-controller@13011000 {
+                               cell-index = <6>;
+                               compatible = "sirf,atlas7-dmac-v2";
+                               reg = <0x13011000 0x100>;
+                               interrupts = <0 9 0>;
+                               clocks = <&car 127>;
+                               #dma-cells = <1>;
+                               #dma-channels = <1>;
+                       };
+                       sdr@0x13010000 {
+                               compatible = "sirf,atlas7-sdr";
+                               reg = <0x13010000 0x1400>;
+                               interrupts = <0 7 0>,
+                                          <0 8 0>,
+                                          <0 9 0>;
+                               clocks = <&car 127>;
+                               dmas = <&dmacsdrr 0>, <&dmacsdrw 0>;
+                               dma-names = "tx", "rx";
+                       };
                };
 
                mediam {
                        compatible = "arteris, flexnoc", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x16000000 0x16000000 0x00200000>,
+                       ranges = <0x15000000 0x15000000 0x00600000>,
+                               <0x16000000 0x16000000 0x00200000>,
+                               <0x17000000 0x17000000 0x10000>,
                                <0x17020000 0x17020000 0x1000>,
                                <0x17030000 0x17030000 0x1000>,
                                <0x17040000 0x17040000 0x1000>,
                                <0x17070200 0x17070200 0x100>,
                                <0x170A0000 0x170A0000 0x3000>;
 
+                       multimedia@15000000 {
+                               compatible = "sirf,atlas7-video-codec";
+                               reg = <0x15000000 0x10000>;
+                               interrupts = <0 5 0>;
+                               clocks = <&car 102>;
+                       };
+
                        mediam@170A0000 {
                                compatible = "sirf,nocfw-mediam";
                                reg = <0x170A0000 0x3000>;
                        nand@17050000 {
                                compatible = "sirf,atlas7-nand";
                                reg = <0x17050000 0x10000>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&nd_df_pmx>;
                                interrupts = <0 41 0>;
                                clocks = <&car 108>, <&car 112>;
                                clock-names = "nand_io", "nand_nand";
                                bus-width = <8>;
                        };
 
+                       jpeg@17000000 {
+                               compatible = "sirf,atlas7-jpeg";
+                               reg = <0x17000000 0x10000>;
+                               interrupts = <0 72 0>,
+                                       <0 73 0>;
+                               clocks = <&car 103>;
+                       };
+
                        usb0: usb@17060000 {
                                cell-index = <0>;
                                compatible = "sirf,atlas7-usb";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x13100000 0x13100000 0x20000>,
-                                <0x10e10000 0x10e10000 0x10000>;
+                               <0x10e10000 0x10e10000 0x10000>,
+                               <0x17010000 0x17010000 0x10000>;
 
                        lcd@13100000 {
                                compatible = "sirf,atlas7-lcdc";
                                clocks = <&car 54>;
                                resets = <&car 29>;
                        };
+                       g2d@17010000 {
+                               compatible = "sirf, atlas7-g2d";
+                               reg = <0x17010000 0x10000>;
+                               interrupts = <0 61 0>;
+                               clocks = <&car 104>;
+                       };
 
                };
 
This page took 0.029259 seconds and 5 git commands to generate.