Linux Audio

Check our new training course

Embedded Linux training

Mar 31-Apr 8, 2025
Register
Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * Abilis Systems TB101 Development Kit PCB device tree
  4 *
  5 * Copyright (C) Abilis Systems 2013
  6 *
  7 * Author: Christian Ruppert <christian.ruppert@abilis.com>
  8 */
  9
 10/dts-v1/;
 11
 12/include/ "abilis_tb101.dtsi"
 13
 14/ {
 15	model = "abilis,tb101";
 16	chosen {
 17		bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
 18	};
 19
 20	aliases { };
 21
 22	memory {
 23		device_type = "memory";
 24		reg = <0x80000000 0x08000000>;	/* 128M */
 25	};
 26
 27	soc100 {
 28		uart@ff100000 {
 29			pinctrl-names = "default";
 30			pinctrl-0 = <&pctl_uart0>;
 31		};
 32		ethernet@fe100000 {
 33			phy-mode = "rgmii";
 34		};
 35
 36		i2c0: i2c@ff120000 {
 37			i2c-sda-hold-time-ns = <432>;
 38		};
 39		i2c1: i2c@ff121000 {
 40			i2c-sda-hold-time-ns = <432>;
 41		};
 42		i2c2: i2c@ff122000 {
 43			i2c-sda-hold-time-ns = <432>;
 44		};
 45		i2c3: i2c@ff123000 {
 46			i2c-sda-hold-time-ns = <432>;
 47		};
 48		i2c4: i2c@ff124000 {
 49			i2c-sda-hold-time-ns = <432>;
 50		};
 51
 52		leds {
 53			compatible = "gpio-leds";
 54			power {
 55				label = "Power";
 56				gpios = <&gpioi 0 0>;
 57				linux,default-trigger = "default-on";
 58			};
 59			heartbeat {
 60				label = "Heartbeat";
 61				gpios = <&gpioi 1 0>;
 62				linux,default-trigger = "heartbeat";
 63			};
 64			led2 {
 65				label = "LED2";
 66				gpios = <&gpioi 2 0>;
 67				default-state = "off";
 68			};
 69			led3 {
 70				label = "LED3";
 71				gpios = <&gpioi 3 0>;
 72				default-state = "off";
 73			};
 74			led4 {
 75				label = "LED4";
 76				gpios = <&gpioi 4 0>;
 77				default-state = "off";
 78			};
 79			led5 {
 80				label = "LED5";
 81				gpios = <&gpioi 5 0>;
 82				default-state = "off";
 83			};
 84			led6 {
 85				label = "LED6";
 86				gpios = <&gpioi 6 0>;
 87				default-state = "off";
 88			};
 89			led7 {
 90				label = "LED7";
 91				gpios = <&gpioi 7 0>;
 92				default-state = "off";
 93			};
 94			led8 {
 95				label = "LED8";
 96				gpios = <&gpioi 8 0>;
 97				default-state = "off";
 98			};
 99			led9 {
100				label = "LED9";
101				gpios = <&gpioi 9 0>;
102				default-state = "off";
103			};
104			led10 {
105				label = "LED10";
106				gpios = <&gpioi 10 0>;
107				default-state = "off";
108			};
109			led11 {
110				label = "LED11";
111				gpios = <&gpioi 11 0>;
112				default-state = "off";
113			};
114		};
115	};
116};
v6.8
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * Abilis Systems TB101 Development Kit PCB device tree
  4 *
  5 * Copyright (C) Abilis Systems 2013
  6 *
  7 * Author: Christian Ruppert <christian.ruppert@abilis.com>
  8 */
  9
 10/dts-v1/;
 11
 12/include/ "abilis_tb101.dtsi"
 13
 14/ {
 15	model = "abilis,tb101";
 16	chosen {
 17		bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
 18	};
 19
 20	aliases { };
 21
 22	memory {
 23		device_type = "memory";
 24		reg = <0x80000000 0x08000000>;	/* 128M */
 25	};
 26
 27	soc100 {
 28		uart@ff100000 {
 29			pinctrl-names = "default";
 30			pinctrl-0 = <&pctl_uart0>;
 31		};
 32		ethernet@fe100000 {
 33			phy-mode = "rgmii";
 34		};
 35
 36		i2c0: i2c@ff120000 {
 37			i2c-sda-hold-time-ns = <432>;
 38		};
 39		i2c1: i2c@ff121000 {
 40			i2c-sda-hold-time-ns = <432>;
 41		};
 42		i2c2: i2c@ff122000 {
 43			i2c-sda-hold-time-ns = <432>;
 44		};
 45		i2c3: i2c@ff123000 {
 46			i2c-sda-hold-time-ns = <432>;
 47		};
 48		i2c4: i2c@ff124000 {
 49			i2c-sda-hold-time-ns = <432>;
 50		};
 51
 52		leds {
 53			compatible = "gpio-leds";
 54			power {
 55				label = "Power";
 56				gpios = <&gpioi 0 0>;
 57				linux,default-trigger = "default-on";
 58			};
 59			heartbeat {
 60				label = "Heartbeat";
 61				gpios = <&gpioi 1 0>;
 62				linux,default-trigger = "heartbeat";
 63			};
 64			led2 {
 65				label = "LED2";
 66				gpios = <&gpioi 2 0>;
 67				default-state = "off";
 68			};
 69			led3 {
 70				label = "LED3";
 71				gpios = <&gpioi 3 0>;
 72				default-state = "off";
 73			};
 74			led4 {
 75				label = "LED4";
 76				gpios = <&gpioi 4 0>;
 77				default-state = "off";
 78			};
 79			led5 {
 80				label = "LED5";
 81				gpios = <&gpioi 5 0>;
 82				default-state = "off";
 83			};
 84			led6 {
 85				label = "LED6";
 86				gpios = <&gpioi 6 0>;
 87				default-state = "off";
 88			};
 89			led7 {
 90				label = "LED7";
 91				gpios = <&gpioi 7 0>;
 92				default-state = "off";
 93			};
 94			led8 {
 95				label = "LED8";
 96				gpios = <&gpioi 8 0>;
 97				default-state = "off";
 98			};
 99			led9 {
100				label = "LED9";
101				gpios = <&gpioi 9 0>;
102				default-state = "off";
103			};
104			led10 {
105				label = "LED10";
106				gpios = <&gpioi 10 0>;
107				default-state = "off";
108			};
109			led11 {
110				label = "LED11";
111				gpios = <&gpioi 11 0>;
112				default-state = "off";
113			};
114		};
115	};
116};