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";
31 fin_pll: oscillator-0 {
32 compatible = "fixed-clock";
33 clock-frequency = <12000000>;
34 clock-output-names = "fin_pll";
38 xusbxti: oscillator-1 {
39 compatible = "fixed-clock";
40 clock-output-names = "xusbxti";
41 clock-frequency = <48000000>;
45 srom-cs1-bus@18000000 {
46 compatible = "simple-bus";
49 reg = <0x18000000 0x8000000>;
53 compatible = "davicom,dm9000";
54 reg = <0x18000000 0x2 0x18000004 0x2>;
55 interrupt-parent = <&gpn>;
56 interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
62 compatible = "gpio-keys";
63 pinctrl-names = "default";
64 pinctrl-0 = <&gpio_keys>;
69 gpios = <&gpn 0 GPIO_ACTIVE_LOW>;
71 debounce-interval = <20>;
76 gpios = <&gpn 1 GPIO_ACTIVE_LOW>;
78 debounce-interval = <20>;
83 gpios = <&gpn 2 GPIO_ACTIVE_LOW>;
85 debounce-interval = <20>;
90 gpios = <&gpn 3 GPIO_ACTIVE_LOW>;
92 debounce-interval = <20>;
97 gpios = <&gpn 4 GPIO_ACTIVE_LOW>;
99 debounce-interval = <20>;
104 gpios = <&gpn 5 GPIO_ACTIVE_LOW>;
106 debounce-interval = <20>;
111 gpios = <&gpl 11 GPIO_ACTIVE_LOW>;
113 debounce-interval = <20>;
118 gpios = <&gpl 12 GPIO_ACTIVE_LOW>;
120 debounce-interval = <20>;
125 compatible = "gpio-leds";
126 pinctrl-names = "default";
127 pinctrl-0 = <&gpio_leds>;
131 gpios = <&gpk 4 GPIO_ACTIVE_LOW>;
132 linux,default-trigger = "heartbeat";
137 gpios = <&gpk 5 GPIO_ACTIVE_LOW>;
138 linux,default-trigger = "mmc0";
143 gpios = <&gpk 6 GPIO_ACTIVE_LOW>;
148 gpios = <&gpk 7 GPIO_ACTIVE_LOW>;
153 compatible = "pwm-beeper";
154 pwms = <&pwm 0 1000000 0>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pwm0_out>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&uart0_data>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&uart1_data>, <&uart1_fctl>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&uart2_data>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&uart3_data>;
196 gpio_leds: gpio-leds {
197 samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7";
198 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
201 gpio_keys: gpio-keys {
202 samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3",
203 "gpn-4", "gpn-5", "gpl-11", "gpl-12";
204 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
209 pinctrl-names = "default";
210 pinctrl-0 = <&i2c0_bus>;
214 compatible = "atmel,24c08";