2019-05-29 16:57:47 -07:00
// SPDX-License-Identifier: GPL-2.0-only
2013-04-11 15:19:40 +02:00
/*
* Abilis Systems TB100 SOC device tree
*
* Copyright (C) Abilis Systems 2013
*
* Author: Christian Ruppert <christian.ruppert@abilis.com>
*/
/include/ "abilis_tb10x.dtsi"
/ {
soc100 {
bus-frequency = <166666666>;
pll0: oscillator {
clock-frequency = <1000000000>;
};
cpu_clk: clkdiv_cpu {
clock-mult = <1>;
clock-div = <2>;
};
ahb_clk: clkdiv_ahb {
clock-mult = <1>;
clock-div = <6>;
};
2019-01-24 15:17:03 +03:00
iomux: iomux@ff10601c {
2013-04-11 15:19:40 +02:00
/* Port 1 */
pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis0";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis1";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */
2013-10-31 13:58:27 +01:00
abilis,function = "gpioa";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_p1: pctl-tsin-p1 { /* Parallel TS-in 1 */
2013-10-31 13:58:27 +01:00
abilis,function = "mip1";
2013-04-11 15:19:40 +02:00
};
/* Port 2 */
pctl_tsin_s2: pctl-tsin-s2 { /* Serial TS-in 2 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis2";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_s3: pctl-tsin-s3 { /* Serial TS-in 3 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis3";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_c: pctl-gpio-c { /* GPIO bank C */
2013-10-31 13:58:27 +01:00
abilis,function = "gpioc";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_p3: pctl-tsin-p3 { /* Parallel TS-in 3 */
2013-10-31 13:58:27 +01:00
abilis,function = "mip3";
2013-04-11 15:19:40 +02:00
};
/* Port 3 */
pctl_tsin_s4: pctl-tsin-s4 { /* Serial TS-in 4 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis4";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_s5: pctl-tsin-s5 { /* Serial TS-in 5 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis5";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_e: pctl-gpio-e { /* GPIO bank E */
2013-10-31 13:58:27 +01:00
abilis,function = "gpioe";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_p5: pctl-tsin-p5 { /* Parallel TS-in 5 */
2013-10-31 13:58:27 +01:00
abilis,function = "mip5";
2013-04-11 15:19:40 +02:00
};
/* Port 4 */
pctl_tsin_s6: pctl-tsin-s6 { /* Serial TS-in 6 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis6";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_s7: pctl-tsin-s7 { /* Serial TS-in 7 */
2013-10-31 13:58:27 +01:00
abilis,function = "mis7";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_g: pctl-gpio-g { /* GPIO bank G */
2013-10-31 13:58:27 +01:00
abilis,function = "gpiog";
2013-04-11 15:19:40 +02:00
};
pctl_tsin_p7: pctl-tsin-p7 { /* Parallel TS-in 7 */
2013-10-31 13:58:27 +01:00
abilis,function = "mip7";
2013-04-11 15:19:40 +02:00
};
/* Port 5 */
pctl_gpio_j: pctl-gpio-j { /* GPIO bank J */
2013-10-31 13:58:27 +01:00
abilis,function = "gpioj";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_k: pctl-gpio-k { /* GPIO bank K */
2013-10-31 13:58:27 +01:00
abilis,function = "gpiok";
2013-04-11 15:19:40 +02:00
};
pctl_ciplus: pctl-ciplus { /* CI+ interface */
2013-10-31 13:58:27 +01:00
abilis,function = "ciplus";
2013-04-11 15:19:40 +02:00
};
pctl_mcard: pctl-mcard { /* M-Card interface */
2013-10-31 13:58:27 +01:00
abilis,function = "mcard";
2013-04-11 15:19:40 +02:00
};
/* Port 6 */
pctl_tsout_p: pctl-tsout-p { /* Parallel TS-out */
2013-10-31 13:58:27 +01:00
abilis,function = "mop";
2013-04-11 15:19:40 +02:00
};
pctl_tsout_s0: pctl-tsout-s0 { /* Serial TS-out 0 */
2013-10-31 13:58:27 +01:00
abilis,function = "mos0";
2013-04-11 15:19:40 +02:00
};
pctl_tsout_s1: pctl-tsout-s1 { /* Serial TS-out 1 */
2013-10-31 13:58:27 +01:00
abilis,function = "mos1";
2013-04-11 15:19:40 +02:00
};
pctl_tsout_s2: pctl-tsout-s2 { /* Serial TS-out 2 */
2013-10-31 13:58:27 +01:00
abilis,function = "mos2";
2013-04-11 15:19:40 +02:00
};
pctl_tsout_s3: pctl-tsout-s3 { /* Serial TS-out 3 */
2013-10-31 13:58:27 +01:00
abilis,function = "mos3";
2013-04-11 15:19:40 +02:00
};
/* Port 7 */
pctl_uart0: pctl-uart0 { /* UART 0 */
2013-10-31 13:58:27 +01:00
abilis,function = "uart0";
2013-04-11 15:19:40 +02:00
};
pctl_uart1: pctl-uart1 { /* UART 1 */
2013-10-31 13:58:27 +01:00
abilis,function = "uart1";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_l: pctl-gpio-l { /* GPIO bank L */
2013-10-31 13:58:27 +01:00
abilis,function = "gpiol";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_m: pctl-gpio-m { /* GPIO bank M */
2013-10-31 13:58:27 +01:00
abilis,function = "gpiom";
2013-04-11 15:19:40 +02:00
};
/* Port 8 */
pctl_spi3: pctl-spi3 {
2013-10-31 13:58:27 +01:00
abilis,function = "spi3";
2013-04-11 15:19:40 +02:00
};
/* Port 9 */
pctl_spi1: pctl-spi1 {
2013-10-31 13:58:27 +01:00
abilis,function = "spi1";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_n: pctl-gpio-n {
2013-10-31 13:58:27 +01:00
abilis,function = "gpion";
2013-04-11 15:19:40 +02:00
};
/* Unmuxed GPIOs */
pctl_gpio_b: pctl-gpio-b {
2013-10-31 13:58:27 +01:00
abilis,function = "gpiob";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_d: pctl-gpio-d {
2013-10-31 13:58:27 +01:00
abilis,function = "gpiod";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_f: pctl-gpio-f {
2013-10-31 13:58:27 +01:00
abilis,function = "gpiof";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_h: pctl-gpio-h {
2013-10-31 13:58:27 +01:00
abilis,function = "gpioh";
2013-04-11 15:19:40 +02:00
};
pctl_gpio_i: pctl-gpio-i {
2013-10-31 13:58:27 +01:00
abilis,function = "gpioi";
2013-04-11 15:19:40 +02:00
};
};
2019-01-24 15:17:03 +03:00
gpioa: gpio@ff140000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff140000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <3>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpioa";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiob: gpio@ff141000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff141000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <2>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiob";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpioc: gpio@ff142000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff142000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <3>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpioc";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiod: gpio@ff143000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff143000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <2>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiod";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpioe: gpio@ff144000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff144000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <3>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpioe";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiof: gpio@ff145000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff145000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <2>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiof";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiog: gpio@ff146000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff146000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <3>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiog";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpioh: gpio@ff147000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff147000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <2>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpioh";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpioi: gpio@ff148000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff148000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <12>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpioi";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpioj: gpio@ff149000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff149000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <32>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpioj";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiok: gpio@ff14a000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff14a000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <22>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiok";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiol: gpio@ff14b000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff14b000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <4>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiol";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpiom: gpio@ff14c000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff14c000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <4>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpiom";
2013-04-11 15:19:40 +02:00
};
2019-01-24 15:17:03 +03:00
gpion: gpio@ff14d000 {
2013-04-11 15:19:40 +02:00
compatible = "abilis,tb10x-gpio";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tb10x_ictl>;
2013-06-26 16:01:28 +02:00
interrupts = <27 2>;
2019-01-24 15:17:03 +03:00
reg = <0xff14d000 0x1000>;
2013-04-11 15:19:40 +02:00
gpio-controller;
2013-10-31 13:58:27 +01:00
#gpio-cells = <2>;
abilis,ngpio = <5>;
gpio-ranges = <&iomux 0 0 0>;
gpio-ranges-group-names = "gpion";
2013-04-11 15:19:40 +02:00
};
};
};