Linux Audio

Check our new training course

Yocto / OpenEmbedded training

Mar 24-27, 2025, special US time zones
Register
Loading...
v4.17
  1/*
  2 * Abilis Systems TB101 Development Kit PCB device tree
  3 *
  4 * Copyright (C) Abilis Systems 2013
  5 *
  6 * Author: Christian Ruppert <christian.ruppert@abilis.com>
  7 *
  8 * This program is free software; you can redistribute it and/or modify
  9 * it under the terms of the GNU General Public License version 2 as
 10 * published by the Free Software Foundation.
 11 *
 12 * This program is distributed in the hope that it will be useful,
 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15 * GNU General Public License for more details.
 16 *
 17 * You should have received a copy of the GNU General Public License
 18 * along with this program; if not, write to the Free Software
 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 20 */
 21
 22/dts-v1/;
 23
 24/include/ "abilis_tb101.dtsi"
 25
 26/ {
 27	model = "abilis,tb101";
 28	chosen {
 29		bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
 30	};
 31
 32	aliases { };
 33
 34	memory {
 35		device_type = "memory";
 36		reg = <0x80000000 0x08000000>;	/* 128M */
 37	};
 38
 39	soc100 {
 40		uart@FF100000 {
 41			pinctrl-names = "default";
 42			pinctrl-0 = <&pctl_uart0>;
 43		};
 44		ethernet@FE100000 {
 45			phy-mode = "rgmii";
 46		};
 47
 48		i2c0: i2c@FF120000 {
 49			i2c-sda-hold-time-ns = <432>;
 50		};
 51		i2c1: i2c@FF121000 {
 52			i2c-sda-hold-time-ns = <432>;
 53		};
 54		i2c2: i2c@FF122000 {
 55			i2c-sda-hold-time-ns = <432>;
 56		};
 57		i2c3: i2c@FF123000 {
 58			i2c-sda-hold-time-ns = <432>;
 59		};
 60		i2c4: i2c@FF124000 {
 61			i2c-sda-hold-time-ns = <432>;
 62		};
 63
 64		leds {
 65			compatible = "gpio-leds";
 66			power {
 67				label = "Power";
 68				gpios = <&gpioi 0 0>;
 69				linux,default-trigger = "default-on";
 70			};
 71			heartbeat {
 72				label = "Heartbeat";
 73				gpios = <&gpioi 1 0>;
 74				linux,default-trigger = "heartbeat";
 75			};
 76			led2 {
 77				label = "LED2";
 78				gpios = <&gpioi 2 0>;
 79				default-state = "off";
 80			};
 81			led3 {
 82				label = "LED3";
 83				gpios = <&gpioi 3 0>;
 84				default-state = "off";
 85			};
 86			led4 {
 87				label = "LED4";
 88				gpios = <&gpioi 4 0>;
 89				default-state = "off";
 90			};
 91			led5 {
 92				label = "LED5";
 93				gpios = <&gpioi 5 0>;
 94				default-state = "off";
 95			};
 96			led6 {
 97				label = "LED6";
 98				gpios = <&gpioi 6 0>;
 99				default-state = "off";
100			};
101			led7 {
102				label = "LED7";
103				gpios = <&gpioi 7 0>;
104				default-state = "off";
105			};
106			led8 {
107				label = "LED8";
108				gpios = <&gpioi 8 0>;
109				default-state = "off";
110			};
111			led9 {
112				label = "LED9";
113				gpios = <&gpioi 9 0>;
114				default-state = "off";
115			};
116			led10 {
117				label = "LED10";
118				gpios = <&gpioi 10 0>;
119				default-state = "off";
120			};
121			led11 {
122				label = "LED11";
123				gpios = <&gpioi 11 0>;
124				default-state = "off";
125			};
126		};
127	};
128};
v4.6
  1/*
  2 * Abilis Systems TB101 Development Kit PCB device tree
  3 *
  4 * Copyright (C) Abilis Systems 2013
  5 *
  6 * Author: Christian Ruppert <christian.ruppert@abilis.com>
  7 *
  8 * This program is free software; you can redistribute it and/or modify
  9 * it under the terms of the GNU General Public License version 2 as
 10 * published by the Free Software Foundation.
 11 *
 12 * This program is distributed in the hope that it will be useful,
 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15 * GNU General Public License for more details.
 16 *
 17 * You should have received a copy of the GNU General Public License
 18 * along with this program; if not, write to the Free Software
 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 20 */
 21
 22/dts-v1/;
 23
 24/include/ "abilis_tb101.dtsi"
 25
 26/ {
 
 27	chosen {
 28		bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
 29	};
 30
 31	aliases { };
 32
 33	memory {
 34		device_type = "memory";
 35		reg = <0x80000000 0x08000000>;	/* 128M */
 36	};
 37
 38	soc100 {
 39		uart@FF100000 {
 40			pinctrl-names = "default";
 41			pinctrl-0 = <&pctl_uart0>;
 42		};
 43		ethernet@FE100000 {
 44			phy-mode = "rgmii";
 45		};
 46
 47		i2c0: i2c@FF120000 {
 48			i2c-sda-hold-time-ns = <432>;
 49		};
 50		i2c1: i2c@FF121000 {
 51			i2c-sda-hold-time-ns = <432>;
 52		};
 53		i2c2: i2c@FF122000 {
 54			i2c-sda-hold-time-ns = <432>;
 55		};
 56		i2c3: i2c@FF123000 {
 57			i2c-sda-hold-time-ns = <432>;
 58		};
 59		i2c4: i2c@FF124000 {
 60			i2c-sda-hold-time-ns = <432>;
 61		};
 62
 63		leds {
 64			compatible = "gpio-leds";
 65			power {
 66				label = "Power";
 67				gpios = <&gpioi 0 0>;
 68				linux,default-trigger = "default-on";
 69			};
 70			heartbeat {
 71				label = "Heartbeat";
 72				gpios = <&gpioi 1 0>;
 73				linux,default-trigger = "heartbeat";
 74			};
 75			led2 {
 76				label = "LED2";
 77				gpios = <&gpioi 2 0>;
 78				default-state = "off";
 79			};
 80			led3 {
 81				label = "LED3";
 82				gpios = <&gpioi 3 0>;
 83				default-state = "off";
 84			};
 85			led4 {
 86				label = "LED4";
 87				gpios = <&gpioi 4 0>;
 88				default-state = "off";
 89			};
 90			led5 {
 91				label = "LED5";
 92				gpios = <&gpioi 5 0>;
 93				default-state = "off";
 94			};
 95			led6 {
 96				label = "LED6";
 97				gpios = <&gpioi 6 0>;
 98				default-state = "off";
 99			};
100			led7 {
101				label = "LED7";
102				gpios = <&gpioi 7 0>;
103				default-state = "off";
104			};
105			led8 {
106				label = "LED8";
107				gpios = <&gpioi 8 0>;
108				default-state = "off";
109			};
110			led9 {
111				label = "LED9";
112				gpios = <&gpioi 9 0>;
113				default-state = "off";
114			};
115			led10 {
116				label = "LED10";
117				gpios = <&gpioi 10 0>;
118				default-state = "off";
119			};
120			led11 {
121				label = "LED11";
122				gpios = <&gpioi 11 0>;
123				default-state = "off";
124			};
125		};
126	};
127};