199767f8919635c4928607450d9e0abb932109ceToomas Soome/*
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@bluezbox.com>
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Redistribution and use in source and binary forms, with or without
199767f8919635c4928607450d9e0abb932109ceToomas Soome * modification, are permitted provided that the following conditions
199767f8919635c4928607450d9e0abb932109ceToomas Soome * are met:
199767f8919635c4928607450d9e0abb932109ceToomas Soome * 1. Redistributions of source code must retain the above copyright
199767f8919635c4928607450d9e0abb932109ceToomas Soome * notice, this list of conditions and the following disclaimer.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * 2. Redistributions in binary form must reproduce the above copyright
199767f8919635c4928607450d9e0abb932109ceToomas Soome * notice, this list of conditions and the following disclaimer in the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * documentation and/or other materials provided with the distribution.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
199767f8919635c4928607450d9e0abb932109ceToomas Soome * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
199767f8919635c4928607450d9e0abb932109ceToomas Soome * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
199767f8919635c4928607450d9e0abb932109ceToomas Soome * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
199767f8919635c4928607450d9e0abb932109ceToomas Soome * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
199767f8919635c4928607450d9e0abb932109ceToomas Soome * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
199767f8919635c4928607450d9e0abb932109ceToomas Soome * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
199767f8919635c4928607450d9e0abb932109ceToomas Soome * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
199767f8919635c4928607450d9e0abb932109ceToomas Soome * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
199767f8919635c4928607450d9e0abb932109ceToomas Soome * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
199767f8919635c4928607450d9e0abb932109ceToomas Soome * SUCH DAMAGE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * $FreeBSD$
199767f8919635c4928607450d9e0abb932109ceToomas Soome */
199767f8919635c4928607450d9e0abb932109ceToomas Soome/dts-v1/;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/include/ "bcm2836.dtsi"
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/ {
199767f8919635c4928607450d9e0abb932109ceToomas Soome model = "Raspberry Pi 2 Model B";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "brcm,bcm2709";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome memreserve = <0x08000000 0x08000000>; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpus {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpu@0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a7";
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "cpu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf00>; /* CPU ID=0xf00 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <800000000>; /* 800MHz */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpu@1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a7";
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "cpu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf01>; /* CPU ID=0xf01 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <800000000>; /* 800MHz */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpu@2 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a7";
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "cpu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf02>; /* CPU ID=0xf02 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <800000000>; /* 800MHz */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpu@3 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,cortex-a7";
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "cpu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xf03>; /* CPU ID=0xf03 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <800000000>; /* 800MHz */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome memory {
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "memory";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0 0x8000000>; /* 128MB, Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome system {
199767f8919635c4928607450d9e0abb932109ceToomas Soome revision = <0>; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial = <0 0>; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome axi {
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio: gpio {
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* BSC0 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_bsc0_a: bsc0_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_bsc0_b: bsc0_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_bsc0_c: bsc0_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* BSC1 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_bsc1_a: bsc1_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_bsc1_b: bsc1_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT2";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* GPCLK0 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk0_a: gpclk0_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk0_b: gpclk0_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk0_c: gpclk0_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk0_d: gpclk0_d {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* GPCLK1 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk1_a: gpclk1_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk1_b: gpclk1_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk1_c: gpclk1_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk1_d: gpclk1_d {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* GPCLK2 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk2_a: gpclk2_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_gpclk2_b: gpclk2_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* SPI0 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_spi0_a: spi0_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_spi0_b: spi0_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* PWM */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm0_a: pwm0_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm0_b: pwm0_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm0_c: pwm0_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm1_a: pwm1_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm1_b: pwm1_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm1_c: pwm1_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pwm1_d: pwm1_d {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* UART0 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart0_a: uart0_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart0_b: uart0_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart0_c: uart0_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT2";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart0_fc_a: uart0_fc_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart0_fc_b: uart0_fc_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart0_fc_c: uart0_fc_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT2";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* PCM */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pcm_a: pcm_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_pcm_b: pcm_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT2";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* Secondary Address Bus */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_addr_a: sm_addr_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_addr_b: sm_addr_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_ctl_a: sm_ctl_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_ctl_b: sm_ctl_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_data_8bit_a: sm_data_8bit_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_data_8bit_b: sm_data_8bit_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_data_16bit: sm_data_16bit {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_sm_data_18bit: sm_data_18bit {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT1";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* BSCSL */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_bscsl: bscsl {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* SPISL */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_spisl: spisl {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* SPI1 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_spi1: spi1 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT4";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* UART1 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart1_a: uart1_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart1_b: uart1_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart1_c: uart1_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart1_fc_a: uart1_fc_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart1_fc_b: uart1_fc_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_uart1_fc_c: uart1_fc_c {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* SPI2 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_spi2: spi2 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT4";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* ARM JTAG */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_arm_jtag_trst: arm_jtag_trst {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT4";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_arm_jtag_a: arm_jtag_a {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT5";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_arm_jtag_b: arm_jtag_b {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT4";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* Reserved */
199767f8919635c4928607450d9e0abb932109ceToomas Soome pins_reserved: reserved {
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,function = "ALT3";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb {
199767f8919635c4928607450d9e0abb932109ceToomas Soome hub {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "usb,hub", "usb,device";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x00000001>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ethernet {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "net,ethernet",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "usb,device";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x00000001>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome mac-address = [00 00 00 00 00 00];
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome display {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "broadcom,bcm2835-fb", "broadcom,bcm2708-fb";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,vc-mailbox = <&vc_mbox>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,vc-channel = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,width = <0>; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,height = <0>; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,depth = <0>; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome leds {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "gpio-leds";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome pwr {
199767f8919635c4928607450d9e0abb932109ceToomas Soome label = "pwr";
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpios = <&gpio 35 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome act {
199767f8919635c4928607450d9e0abb932109ceToomas Soome label = "act";
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpios = <&gpio 47 0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome power: regulator {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "broadcom,bcm2835-power-mgr",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "broadcom,bcm2708-power-mgr",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "simple-bus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,vc-mailbox = <&vc_mbox>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome broadcom,vc-channel = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-name = "VideoCore";
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-min-microvolt = <5000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-max-microvolt = <5000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-always-on = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sd_card_power: regulator@0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "broadcom,bcm2835-power-dev",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "broadcom,bcm2708-power-dev";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome vin-supply = <&power>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-name = "SD Card";
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-min-microvolt = <3300000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-max-microvolt = <3300000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* This is for the controller itself, not the root port */
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb_hcd_power: regulator@3 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "broadcom,bcm2835-power-dev",
199767f8919635c4928607450d9e0abb932109ceToomas Soome "broadcom,bcm2708-power-dev";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome vin-supply = <&power>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-name = "USB HCD";
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-min-microvolt = <5000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome regulator-max-microvolt = <5000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome aliases {
199767f8919635c4928607450d9e0abb932109ceToomas Soome uart0 = &uart0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome chosen {
199767f8919635c4928607450d9e0abb932109ceToomas Soome bootargs = ""; /* Set by VideoCore */
199767f8919635c4928607450d9e0abb932109ceToomas Soome stdin = "uart0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome stdout = "uart0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome __overrides__ {
199767f8919635c4928607450d9e0abb932109ceToomas Soome cache_line_size = <&vchiq>, "cache-line-size:0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome};