view config/dio.properties-raspberrypi @ 136:26032e12a445

8077416: Consistent Device Names/IDs betweeb ME and SE configs Summary: Renamed and renumbered config RPi config entries Reviewed-by: alkonsta
author snazarki
date Fri, 10 Apr 2015 16:41:02 +0300
parents 76b295ea4035
children 60aeeb749f3c
line wrap: on
line source
#########################################################################
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code 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
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#########################################################################

# RPi rev2 P1 header pins
1 = deviceType: gpio.GPIOPin, pinNumber:4, name:GPIO4, predefined:true
2 = deviceType: gpio.GPIOPin, pinNumber:7, name:GPIO7, mode:4, direction:1, predefined:true
3 = deviceType: gpio.GPIOPin, pinNumber:17, name:GPIO17, predefined:true
4 = deviceType: gpio.GPIOPin, pinNumber:18, name:GPIO18, mode:4, direction:1, predefined:true
5 = deviceType: gpio.GPIOPin, pinNumber:22, name:GPIO22, predefined:true
6 = deviceType: gpio.GPIOPin, pinNumber:23, name:GPIO23, mode:4, direction:1, predefined:true
7 = deviceType: gpio.GPIOPin, pinNumber:24, name:GPIO24, mode:4, direction:1, predefined:true
8 = deviceType: gpio.GPIOPin, pinNumber:25, name:GPIO25, mode:4, direction:1, predefined:true
9 = deviceType: gpio.GPIOPin, pinNumber:27, name:GPIO27, predefined:true

300 = deviceType: spibus.SPIDevice, name:SPI0.0, deviceNumber:0, address:0, csActive:1, wordLength:8, clockFrequency:500000, clockMode:1, bitOrdering:1, predefined:true

100 = deviceType: uart.UART, deviceName:ttyAMA0, name:ttyAMA0, baudRate:19200, dataBits:8, parity:0, stopBits:1, flowControl:0, predefined:true

gpio.GPIOPin = initValue:0, deviceNumber:0, direction:0, mode:1, trigger:3, predefined:true
uart.UART = baudRate:19200, parity:0, dataBits:8, stopBits:1, flowControl:0, predefined:true