1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's S3C6410 based Mini6410 board device tree source
5 * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
7 * Device tree source file for FriendlyARM Mini6410 board which is based on
8 * Samsung's S3C6410 SoC.
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
16 #include "s3c6410.dtsi"
19 model = "FriendlyARM Mini6410 board based on S3C6410";
20 compatible = "friendlyarm,mini6410", "samsung,s3c6410";
23 device_type = "memory";
24 reg = <0x50000000 0x10000000>;
28 bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1";
32 compatible = "simple-bus";
36 fin_pll: oscillator@0 {
37 compatible = "fixed-clock";
39 clock-frequency = <12000000>;
40 clock-output-names = "fin_pll";
44 xusbxti: oscillator@1 {
45 compatible = "fixed-clock";
47 clock-output-names = "xusbxti";
48 clock-frequency = <48000000>;
54 compatible = "simple-bus";
57 reg = <0x18000000 0x8000000>;
61 compatible = "davicom,dm9000";
62 reg = <0x18000000 0x2 0x18000004 0x2>;
63 interrupt-parent = <&gpn>;
64 interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
70 compatible = "gpio-keys";
71 pinctrl-names = "default";
72 pinctrl-0 = <&gpio_keys>;
77 gpios = <&gpn 0 GPIO_ACTIVE_LOW>;
79 debounce-interval = <20>;
84 gpios = <&gpn 1 GPIO_ACTIVE_LOW>;
86 debounce-interval = <20>;
91 gpios = <&gpn 2 GPIO_ACTIVE_LOW>;
93 debounce-interval = <20>;
98 gpios = <&gpn 3 GPIO_ACTIVE_LOW>;
100 debounce-interval = <20>;
105 gpios = <&gpn 4 GPIO_ACTIVE_LOW>;
107 debounce-interval = <20>;
112 gpios = <&gpn 5 GPIO_ACTIVE_LOW>;
114 debounce-interval = <20>;
119 gpios = <&gpl 11 GPIO_ACTIVE_LOW>;
121 debounce-interval = <20>;
126 gpios = <&gpl 12 GPIO_ACTIVE_LOW>;
128 debounce-interval = <20>;
133 compatible = "gpio-leds";
134 pinctrl-names = "default";
135 pinctrl-0 = <&gpio_leds>;
139 gpios = <&gpk 4 GPIO_ACTIVE_LOW>;
140 linux,default-trigger = "heartbeat";
145 gpios = <&gpk 5 GPIO_ACTIVE_LOW>;
146 linux,default-trigger = "mmc0";
151 gpios = <&gpk 6 GPIO_ACTIVE_LOW>;
156 gpios = <&gpk 7 GPIO_ACTIVE_LOW>;
161 compatible = "pwm-beeper";
162 pwms = <&pwm 0 1000000 0>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pwm0_out>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&uart0_data>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&uart1_data>, <&uart1_fctl>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&uart2_data>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&uart3_data>;
204 gpio_leds: gpio-leds {
205 samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7";
206 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
209 gpio_keys: gpio-keys {
210 samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3",
211 "gpn-4", "gpn-5", "gpl-11", "gpl-12";
212 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&i2c0_bus>;
222 compatible = "atmel,24c08";