1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * FriendlyARM's Exynos4412 based TINY4412 board device tree source 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (c) 2013 Alex Ling <kasimling@gmail.com> 6*724ba675SRob Herring * 7*724ba675SRob Herring * Device tree source file for FriendlyARM's TINY4412 board which is based on 8*724ba675SRob Herring * Samsung's Exynos4412 SoC. 9*724ba675SRob Herring */ 10*724ba675SRob Herring 11*724ba675SRob Herring/dts-v1/; 12*724ba675SRob Herring#include "exynos4412.dtsi" 13*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 14*724ba675SRob Herring#include <dt-bindings/leds/common.h> 15*724ba675SRob Herring 16*724ba675SRob Herring/ { 17*724ba675SRob Herring model = "FriendlyARM TINY4412 board based on Exynos4412"; 18*724ba675SRob Herring compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4"; 19*724ba675SRob Herring 20*724ba675SRob Herring aliases { 21*724ba675SRob Herring mmc0 = &sdhci_2; 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring chosen { 25*724ba675SRob Herring stdout-path = &serial_0; 26*724ba675SRob Herring }; 27*724ba675SRob Herring 28*724ba675SRob Herring memory@40000000 { 29*724ba675SRob Herring device_type = "memory"; 30*724ba675SRob Herring reg = <0x40000000 0x40000000>; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring leds { 34*724ba675SRob Herring compatible = "gpio-leds"; 35*724ba675SRob Herring 36*724ba675SRob Herring led1 { 37*724ba675SRob Herring label = "led1"; 38*724ba675SRob Herring function = LED_FUNCTION_HEARTBEAT; 39*724ba675SRob Herring gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; 40*724ba675SRob Herring default-state = "off"; 41*724ba675SRob Herring linux,default-trigger = "heartbeat"; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring led2 { 45*724ba675SRob Herring label = "led2"; 46*724ba675SRob Herring gpios = <&gpm4 1 GPIO_ACTIVE_LOW>; 47*724ba675SRob Herring default-state = "off"; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring led3 { 51*724ba675SRob Herring label = "led3"; 52*724ba675SRob Herring gpios = <&gpm4 2 GPIO_ACTIVE_LOW>; 53*724ba675SRob Herring default-state = "off"; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring led4 { 57*724ba675SRob Herring label = "led4"; 58*724ba675SRob Herring function = LED_FUNCTION_DISK_ACTIVITY; 59*724ba675SRob Herring gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; 60*724ba675SRob Herring default-state = "off"; 61*724ba675SRob Herring linux,default-trigger = "mmc0"; 62*724ba675SRob Herring }; 63*724ba675SRob Herring }; 64*724ba675SRob Herring 65*724ba675SRob Herring fixed-rate-clocks { 66*724ba675SRob Herring xxti { 67*724ba675SRob Herring compatible = "samsung,clock-xxti"; 68*724ba675SRob Herring clock-frequency = <0>; 69*724ba675SRob Herring }; 70*724ba675SRob Herring 71*724ba675SRob Herring xusbxti { 72*724ba675SRob Herring compatible = "samsung,clock-xusbxti"; 73*724ba675SRob Herring clock-frequency = <24000000>; 74*724ba675SRob Herring }; 75*724ba675SRob Herring 76*724ba675SRob Herring pmic_ap_clk: pmic-ap-clk { 77*724ba675SRob Herring /* Workaround for missing clock on PMIC */ 78*724ba675SRob Herring compatible = "fixed-clock"; 79*724ba675SRob Herring #clock-cells = <0>; 80*724ba675SRob Herring clock-frequency = <32768>; 81*724ba675SRob Herring }; 82*724ba675SRob Herring }; 83*724ba675SRob Herring 84*724ba675SRob Herring panel { 85*724ba675SRob Herring compatible = "innolux,at070tn92"; 86*724ba675SRob Herring power-supply = <&vddq_lcd>; 87*724ba675SRob Herring 88*724ba675SRob Herring port { 89*724ba675SRob Herring panel_input: endpoint { 90*724ba675SRob Herring remote-endpoint = <&lcdc_output>; 91*724ba675SRob Herring }; 92*724ba675SRob Herring }; 93*724ba675SRob Herring }; 94*724ba675SRob Herring 95*724ba675SRob Herring vddq_lcd: regulator-vddq-lcd { 96*724ba675SRob Herring compatible = "regulator-fixed"; 97*724ba675SRob Herring regulator-name = "vddq-lcd"; 98*724ba675SRob Herring regulator-min-microvolt = <1800000>; 99*724ba675SRob Herring regulator-max-microvolt = <1800000>; 100*724ba675SRob Herring }; 101*724ba675SRob Herring}; 102*724ba675SRob Herring 103*724ba675SRob Herring&cpu_thermal { 104*724ba675SRob Herring cooling-maps { 105*724ba675SRob Herring cooling_map0: map0 { 106*724ba675SRob Herring /* Corresponds to 800MHz at freq_table */ 107*724ba675SRob Herring cooling-device = <&cpu0 7 7>, <&cpu1 7 7>, 108*724ba675SRob Herring <&cpu2 7 7>, <&cpu3 7 7>; 109*724ba675SRob Herring }; 110*724ba675SRob Herring cooling_map1: map1 { 111*724ba675SRob Herring /* Corresponds to 200MHz at freq_table */ 112*724ba675SRob Herring cooling-device = <&cpu0 13 13>, <&cpu1 13 13>, 113*724ba675SRob Herring <&cpu2 13 13>, <&cpu3 13 13>; 114*724ba675SRob Herring }; 115*724ba675SRob Herring }; 116*724ba675SRob Herring}; 117*724ba675SRob Herring 118*724ba675SRob Herring&fimd { 119*724ba675SRob Herring pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 120*724ba675SRob Herring pinctrl-names = "default"; 121*724ba675SRob Herring #address-cells = <1>; 122*724ba675SRob Herring #size-cells = <0>; 123*724ba675SRob Herring status = "okay"; 124*724ba675SRob Herring 125*724ba675SRob Herring port@3 { 126*724ba675SRob Herring reg = <3>; 127*724ba675SRob Herring lcdc_output: endpoint { 128*724ba675SRob Herring remote-endpoint = <&panel_input>; 129*724ba675SRob Herring }; 130*724ba675SRob Herring }; 131*724ba675SRob Herring}; 132*724ba675SRob Herring 133*724ba675SRob Herring&rtc { 134*724ba675SRob Herring status = "okay"; 135*724ba675SRob Herring clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; 136*724ba675SRob Herring clock-names = "rtc", "rtc_src"; 137*724ba675SRob Herring}; 138*724ba675SRob Herring 139*724ba675SRob Herring&sdhci_2 { 140*724ba675SRob Herring bus-width = <4>; 141*724ba675SRob Herring pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; 142*724ba675SRob Herring pinctrl-names = "default"; 143*724ba675SRob Herring status = "okay"; 144*724ba675SRob Herring}; 145*724ba675SRob Herring 146*724ba675SRob Herring&serial_0 { 147*724ba675SRob Herring status = "okay"; 148*724ba675SRob Herring}; 149*724ba675SRob Herring 150*724ba675SRob Herring&serial_1 { 151*724ba675SRob Herring status = "okay"; 152*724ba675SRob Herring}; 153*724ba675SRob Herring 154*724ba675SRob Herring&serial_2 { 155*724ba675SRob Herring status = "okay"; 156*724ba675SRob Herring}; 157*724ba675SRob Herring 158*724ba675SRob Herring&serial_3 { 159*724ba675SRob Herring status = "okay"; 160*724ba675SRob Herring}; 161