/* * Cavium Thunder DTS file - Thunder board description * * Copyright (C) 2017, Cavium Inc. * * This file is dual-licensed: you can use it either under the terms * of the GPL or the X11 license, at your option. Note that this dual * licensing only applies to this file, and not this project as a * whole. * * a) This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, * MA 02110-1301 USA * * Or, alternatively, * * b) Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; /include/ "cn83xx-linux.dtsi" &mrml_bridge { bgx0 { /* typename+qlm+typenumber eg : sgmii+bgx0+sgmmi0 */ xfi00 { reg = <0x0>; qlm-mode = "0x000,xfi"; local-mac-address = [00 00 00 00 00 00]; }; xfi01 { reg = <0x1>; qlm-mode = "0x001,xfi"; local-mac-address = [00 00 00 00 00 00]; }; xfi02 { reg = <0x2>; qlm-mode = "0x002,xfi"; local-mac-address = [00 00 00 00 00 00]; }; xfi03 { reg = <0x3>; qlm-mode = "0x003,xfi"; local-mac-address = [00 00 00 00 00 00]; }; }; bgx1 { xfi-10g-kr10 { reg = <0x0>; qlm-mode = "0x010,xfi-10g-kr"; local-mac-address = [00 00 00 00 00 00]; }; xfi-10g-kr11 { reg = <0x1>; qlm-mode = "0x011,xfi-10g-kr"; local-mac-address = [00 00 00 00 00 00]; }; xfi-10g-kr12 { reg = <0x2>; qlm-mode = "0x012,xfi-10g-kr"; local-mac-address = [00 00 00 00 00 00]; }; xfi-10g-kr13 { reg = <0x3>; qlm-mode = "0x013,xfi-10g-kr"; local-mac-address = [00 00 00 00 00 00]; }; }; }; &mmc_1_4 { /* Power on GPIO 8, active high, shared */ power-gpios = <&gpio_6_0 8 0>; mmc-slot@0 { compatible = "mmc-slot"; reg = <0>; vmmc-supply = <&mmc_supply_3v3>; max-frequency = <26000000>; mmc-ddr-3_3v; /* 1.8v is not supported */ no-1-8-v; /* Bus width is only 4 bits maximum */ bus-width = <4>; /* No write-protect switch is present */ disable-wp; /* There is no card detection available; polling must be used. */ broken-cd; /* High-speed mode is supported */ cap-sd-highspeed; /* speed up device probing */ no-sdio; no-mmc; }; mmc-slot@1 { compatible = "mmc-slot"; reg = <1>; vmmc-supply = <&mmc_supply_3v3>; max-frequency = <26000000>; mmc-ddr-3_3v; /* 1.8v is not supported */ no-1-8-v; /* Bus width is only 8 bits maximum */ bus-width = <8>; /* No write-protect switch is present */ disable-wp; /* There is no card detection available; polling must be used. */ broken-cd; /* High-speed mode is supported */ cap-mmc-highspeed; /* eMMC device is soldered onto the board */ non-removable; /* speed up device probing */ no-sdio; no-sd; }; }; &i2c_9_0 { rtc@68 { compatible = "dallas,ds1337"; reg = <0x68>; rtcmodel = <1>; }; mux@70 { compatible = "nxp,pca9547"; reg = <0x70>; #address-cells = <1>; #size-cells = <0>; i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; pagesize = <64>; }; }; i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; pagesize = <64>; }; }; i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; pagesize = <64>; }; }; i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; pagesize = <64>; }; }; i2c@4 { #address-cells = <1>; #size-cells = <0>; reg = <4>; eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; pagesize = <64>; }; }; i2c@5 { #address-cells = <1>; #size-cells = <0>; reg = <5>; eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; pagesize = <64>; }; }; }; }; &spi_7_0 { flash@0 { compatible = "jedec,spi-nor", "spi-flash"; reg = <0x0>; spi-max-frequency = <16000000>; #address-cells = <1>; #size-cells = <1>; }; };