Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Abilis Systems TB100 Development Kit PCB device tree
0004  *
0005  * Copyright (C) Abilis Systems 2013
0006  *
0007  * Author: Christian Ruppert <christian.ruppert@abilis.com>
0008  */
0009 
0010 /dts-v1/;
0011 
0012 /include/ "abilis_tb100.dtsi"
0013 
0014 / {
0015         model = "abilis,tb100";
0016         chosen {
0017                 bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
0018         };
0019 
0020         aliases { };
0021 
0022         memory {
0023                 device_type = "memory";
0024                 reg = <0x80000000 0x08000000>;  /* 128M */
0025         };
0026 
0027         soc100 {
0028                 uart@ff100000 {
0029                         pinctrl-names = "default";
0030                         pinctrl-0 = <&pctl_uart0>;
0031                 };
0032                 ethernet@fe100000 {
0033                         phy-mode = "rgmii";
0034                 };
0035 
0036                 i2c0: i2c@ff120000 {
0037                         i2c-sda-hold-time-ns = <432>;
0038                 };
0039                 i2c1: i2c@ff121000 {
0040                         i2c-sda-hold-time-ns = <432>;
0041                 };
0042                 i2c2: i2c@ff122000 {
0043                         i2c-sda-hold-time-ns = <432>;
0044                 };
0045                 i2c3: i2c@ff123000 {
0046                         i2c-sda-hold-time-ns = <432>;
0047                 };
0048                 i2c4: i2c@ff124000 {
0049                         i2c-sda-hold-time-ns = <432>;
0050                 };
0051 
0052                 leds {
0053                         compatible = "gpio-leds";
0054                         power {
0055                                 label = "Power";
0056                                 gpios = <&gpioi 0 0>;
0057                                 linux,default-trigger = "default-on";
0058                         };
0059                         heartbeat {
0060                                 label = "Heartbeat";
0061                                 gpios = <&gpioi 1 0>;
0062                                 linux,default-trigger = "heartbeat";
0063                         };
0064                         led2 {
0065                                 label = "LED2";
0066                                 gpios = <&gpioi 2 0>;
0067                                 default-state = "off";
0068                         };
0069                         led3 {
0070                                 label = "LED3";
0071                                 gpios = <&gpioi 3 0>;
0072                                 default-state = "off";
0073                         };
0074                         led4 {
0075                                 label = "LED4";
0076                                 gpios = <&gpioi 4 0>;
0077                                 default-state = "off";
0078                         };
0079                         led5 {
0080                                 label = "LED5";
0081                                 gpios = <&gpioi 5 0>;
0082                                 default-state = "off";
0083                         };
0084                         led6 {
0085                                 label = "LED6";
0086                                 gpios = <&gpioi 6 0>;
0087                                 default-state = "off";
0088                         };
0089                         led7 {
0090                                 label = "LED7";
0091                                 gpios = <&gpioi 7 0>;
0092                                 default-state = "off";
0093                         };
0094                         led8 {
0095                                 label = "LED8";
0096                                 gpios = <&gpioi 8 0>;
0097                                 default-state = "off";
0098                         };
0099                         led9 {
0100                                 label = "LED9";
0101                                 gpios = <&gpioi 9 0>;
0102                                 default-state = "off";
0103                         };
0104                         led10 {
0105                                 label = "LED10";
0106                                 gpios = <&gpioi 10 0>;
0107                                 default-state = "off";
0108                         };
0109                         led11 {
0110                                 label = "LED11";
0111                                 gpios = <&gpioi 11 0>;
0112                                 default-state = "off";
0113                         };
0114                 };
0115         };
0116 };