Linux Audio

Check our new training course

Loading...
v4.17
 
  1/*
  2 * aks-cdu.dts - Device Tree file for AK signal CDU
  3 *
  4 * Copyright (C) 2012 AK signal Brno a.s.
  5 *               2012 Jiri Prchal <jiri.prchal@aksignal.cz>
  6 *
  7 * Licensed under GPLv2 or later.
  8 */
  9
 10/dts-v1/;
 11
 12#include "ge863-pro3.dtsi"
 13
 14/ {
 15	chosen {
 16		bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
 17	};
 18
 19	clocks {
 20		slow_xtal {
 21			clock-frequency = <32768>;
 22		};
 23	};
 24
 25	ahb {
 26		apb {
 27			usart0: serial@fffb0000 {
 28				status = "okay";
 29			};
 30
 31			usart1: serial@fffb4000 {
 32				status = "okay";
 33				linux,rs485-enabled-at-boot-time;
 34				rs485-rts-delay = <0 0>;
 35				};
 36
 37			usart2: serial@fffb8000 {
 38				status = "okay";
 39				linux,rs485-enabled-at-boot-time;
 40				rs485-rts-delay = <0 0>;
 41			};
 42
 43			usart3: serial@fffd0000 {
 44				status = "okay";
 45				linux,rs485-enabled-at-boot-time;
 46				rs485-rts-delay = <0 0>;
 47			};
 48
 49			macb0: ethernet@fffc4000 {
 50				phy-mode = "rmii";
 51				status = "okay";
 52			};
 53
 54			usb1: gadget@fffa4000 {
 55				atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
 56				status = "okay";
 57			};
 58		};
 59
 60		usb0: ohci@500000 {
 61			num-ports = <2>;
 62			status = "okay";
 63		};
 64
 65		ebi: ebi@10000000 {
 66			nand_controller: nand-controller {
 67				nand: nand@3 {
 68					partitions {
 69						bootstrap@0 {
 70							label = "bootstrap";
 71							reg = <0x0 0x40000>;
 72						};
 73
 74						uboot@40000 {
 75							label = "uboot";
 76							reg = <0x40000 0x80000>;
 77						};
 78
 79						ubootenv@c0000 {
 80							label = "ubootenv";
 81							reg = <0xc0000 0x40000>;
 82						};
 83
 84						kernel@100000 {
 85							label = "kernel";
 86							reg = <0x100000 0x400000>;
 87						};
 88
 89						rootfs@500000 {
 90							label = "rootfs";
 91							reg = <0x500000 0x7b00000>;
 92						};
 93					};
 94				};
 95			};
 96		};
 97	};
 98
 99	leds {
100		compatible = "gpio-leds";
101
102		red {
103			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
104			linux,default-trigger = "none";
105		};
106
107		green {
108			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
109			linux,default-trigger = "none";
110			default-state = "on";
111		};
112
113		yellow {
114			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
115			linux,default-trigger = "none";
116		};
117
118		blue {
119			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
120			linux,default-trigger = "none";
121		};
122	};
123};
v6.2
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * aks-cdu.dts - Device Tree file for AK signal CDU
  4 *
  5 * Copyright (C) 2012 AK signal Brno a.s.
  6 *               2012 Jiri Prchal <jiri.prchal@aksignal.cz>
 
 
  7 */
  8
  9/dts-v1/;
 10
 11#include "ge863-pro3.dtsi"
 12
 13/ {
 14	chosen {
 15		bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
 16	};
 17
 18	clocks {
 19		slow_xtal {
 20			clock-frequency = <32768>;
 21		};
 22	};
 23
 24	ahb {
 25		apb {
 26			usart0: serial@fffb0000 {
 27				status = "okay";
 28			};
 29
 30			usart1: serial@fffb4000 {
 31				status = "okay";
 32				linux,rs485-enabled-at-boot-time;
 33				rs485-rts-delay = <0 0>;
 34				};
 35
 36			usart2: serial@fffb8000 {
 37				status = "okay";
 38				linux,rs485-enabled-at-boot-time;
 39				rs485-rts-delay = <0 0>;
 40			};
 41
 42			usart3: serial@fffd0000 {
 43				status = "okay";
 44				linux,rs485-enabled-at-boot-time;
 45				rs485-rts-delay = <0 0>;
 46			};
 47
 48			macb0: ethernet@fffc4000 {
 49				phy-mode = "rmii";
 50				status = "okay";
 51			};
 52
 53			usb1: gadget@fffa4000 {
 54				atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
 55				status = "okay";
 56			};
 57		};
 58
 59		usb0: ohci@500000 {
 60			num-ports = <2>;
 61			status = "okay";
 62		};
 63
 64		ebi: ebi@10000000 {
 65			nand_controller: nand-controller {
 66				nand: nand@3 {
 67					partitions {
 68						bootstrap@0 {
 69							label = "bootstrap";
 70							reg = <0x0 0x40000>;
 71						};
 72
 73						uboot@40000 {
 74							label = "uboot";
 75							reg = <0x40000 0x80000>;
 76						};
 77
 78						ubootenv@c0000 {
 79							label = "ubootenv";
 80							reg = <0xc0000 0x40000>;
 81						};
 82
 83						kernel@100000 {
 84							label = "kernel";
 85							reg = <0x100000 0x400000>;
 86						};
 87
 88						rootfs@500000 {
 89							label = "rootfs";
 90							reg = <0x500000 0x7b00000>;
 91						};
 92					};
 93				};
 94			};
 95		};
 96	};
 97
 98	leds {
 99		compatible = "gpio-leds";
100
101		red {
102			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
103			linux,default-trigger = "none";
104		};
105
106		green {
107			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
108			linux,default-trigger = "none";
109			default-state = "on";
110		};
111
112		yellow {
113			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
114			linux,default-trigger = "none";
115		};
116
117		blue {
118			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
119			linux,default-trigger = "none";
120		};
121	};
122};